| @@ -25,7 +25,7 @@ | ||
| 25 | 25 |  	{ | 
| 26 | 26 | $availableTypes = array_keys($this->config['options']['available_types']); | 
| 27 | 27 | |
| 28 | -		if (! in_array($type, $availableTypes)) { | |
| 28 | +		if (!in_array($type, $availableTypes)) { | |
| 29 | 29 | throw new UnavailableOptionType; | 
| 30 | 30 | } | 
| 31 | 31 | |
| @@ -22,14 +22,14 @@ | ||
| 22 | 22 | |
| 23 | 23 | public function pattern($value) | 
| 24 | 24 |  	{ | 
| 25 | - $value = (is_array($value)) ? $value : [$value] ; | |
| 25 | + $value = (is_array($value)) ? $value : [$value]; | |
| 26 | 26 | |
| 27 | 27 | $this->pattern = $value; | 
| 28 | 28 | } | 
| 29 | 29 | |
| 30 | 30 | public function __set($key, $value) | 
| 31 | 31 |      { | 
| 32 | -        if (! in_array($key, $this->availableMethods)) { | |
| 32 | +        if (!in_array($key, $this->availableMethods)) { | |
| 33 | 33 | throw new UnavailableMethodException; | 
| 34 | 34 | } | 
| 35 | 35 | |
| @@ -29,7 +29,7 @@ discard block | ||
| 29 | 29 | |
| 30 | 30 | public function make($callback) | 
| 31 | 31 |  	{ | 
| 32 | -		if (! $this->class) { | |
| 32 | +		if (!$this->class) { | |
| 33 | 33 | throw new NoClassInstanciedException; | 
| 34 | 34 | } | 
| 35 | 35 | |
| @@ -40,7 +40,7 @@ discard block | ||
| 40 | 40 | |
| 41 | 41 | protected function callFunc($callback, $option) | 
| 42 | 42 |  	{ | 
| 43 | - if (! $callback instanceof Closure) | |
| 43 | + if (!$callback instanceof Closure) | |
| 44 | 44 |  		{ | 
| 45 | 45 | throw new CallbackNotValidException(); | 
| 46 | 46 | } | 
| @@ -4,7 +4,7 @@ discard block | ||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Support\ServiceProvider; | 
| 6 | 6 | |
| 7 | -class ChartServiceProvider extends ServiceProvider{ | |
| 7 | +class ChartServiceProvider extends ServiceProvider { | |
| 8 | 8 | |
| 9 | 9 | /** | 
| 10 | 10 | * Indicates if loading of the provider is deferred. | 
| @@ -33,7 +33,7 @@ discard block | ||
| 33 | 33 | protected function publishesConfig() | 
| 34 | 34 |      { | 
| 35 | 35 | $this->publishes([ | 
| 36 | -            __DIR__.'/Config/charts.php' => config_path('charts.php'), | |
| 36 | +            __DIR__ . '/Config/charts.php' => config_path('charts.php'), | |
| 37 | 37 | ]); | 
| 38 | 38 | } | 
| 39 | 39 | } | 
| 40 | 40 | \ No newline at end of file | 
| @@ -4,16 +4,16 @@ | ||
| 4 | 4 | |
| 5 | 5 | 'options' => [ | 
| 6 | 6 | 'available_types' => [ | 
| 7 | - 'title' => ['text','align','style'], | |
| 7 | + 'title' => ['text', 'align', 'style'], | |
| 8 | 8 | 'legend' => ['itemStyle'], | 
| 9 | - 'plotOption' => ['plotOption','shared','valueSuffix'], | |
| 10 | - 'subtitle' => ['text','style'], | |
| 11 | - 'xAxis' => ['categories','tickWidth','gridLineWidth','labels'], | |
| 12 | - 'yAxis' => ['text','label','showFirstLabel'], | |
| 9 | + 'plotOption' => ['plotOption', 'shared', 'valueSuffix'], | |
| 10 | + 'subtitle' => ['text', 'style'], | |
| 11 | + 'xAxis' => ['categories', 'tickWidth', 'gridLineWidth', 'labels'], | |
| 12 | + 'yAxis' => ['text', 'label', 'showFirstLabel'], | |
| 13 | 13 | ], | 
| 14 | 14 | ], | 
| 15 | 15 | |
| 16 | 16 | 'series' => [ | 
| 17 | - 'available_types' => ['name','data','zIndex','color','type','fillOpacity','lineWidth'], | |
| 17 | + 'available_types' => ['name', 'data', 'zIndex', 'color', 'type', 'fillOpacity', 'lineWidth'], | |
| 18 | 18 | ] | 
| 19 | 19 | ]; |