Skip to content
Snippets Groups Projects
Commit 830dff92 authored by Bruno Massa's avatar Bruno Massa
Browse files

Internals:

* Some tips and code standarts pointed by Code Review module implemented
parent 276bcc7f
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
// For everyone that does not use PHP 5.2 or newer // For everyone that does not use PHP 5.2 or newer
if (!function_exists('array_fill_keys')) { if (!function_exists('array_fill_keys')) {
function array_fill_keys(array $keys, $value) { function array_fill_keys(array $keys, $value) {
return array_combine($keys, array_fill(0,count($keys), $value)); return array_combine($keys, array_fill(0, count($keys), $value));
} }
} }
......
...@@ -25,7 +25,7 @@ function charts_chart(&$data) { ...@@ -25,7 +25,7 @@ function charts_chart(&$data) {
} }
/** /**
* Immplementation of hook_chart_types(). * Implementation of hook_chart_types().
*/ */
function charts_chart_types() { function charts_chart_types() {
return array( return array(
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
*/ */
/** /**
* Immplementation of hook_charts_info(). * Implementation of hook_charts_info().
* *
* Its a Charts module hook. It defines almost all aspects * Its a Charts module hook. It defines almost all aspects
* of a chart provider, like its name, what types of charts * of a chart provider, like its name, what types of charts
...@@ -27,7 +27,7 @@ function google_charts_charts_info() { ...@@ -27,7 +27,7 @@ function google_charts_charts_info() {
} }
/** /**
* Immplementation of hook_chart_types(). * Implementation of hook_chart_types().
*/ */
function google_charts_chart_types() { function google_charts_chart_types() {
return array( return array(
......
...@@ -7,10 +7,10 @@ ...@@ -7,10 +7,10 @@
*/ */
/** /**
* Implementation of hook_views_plugins(). * Implementation of hook_views_plugins().
* *
* Define charts style for Views. * Define charts style for Views.
*/ */
function charts_views_plugins() { function charts_views_plugins() {
// Views support is only possible if Views Calc module is enabled. It // Views support is only possible if Views Calc module is enabled. It
// is responsible for turn the Views values into a aggregates. // is responsible for turn the Views values into a aggregates.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment