@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | curl_close($curl); |
| 166 | 166 | |
| 167 | 167 | if ($err) { |
| 168 | - echo "cURL Error #:" . $err; |
|
| 168 | + echo "cURL Error #:".$err; |
|
| 169 | 169 | } else { |
| 170 | 170 | return json_decode($response); |
| 171 | 171 | } |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | curl_close($curl); |
| 198 | 198 | |
| 199 | 199 | if ($err) { |
| 200 | - echo "cURL Error #:" . $err; |
|
| 200 | + echo "cURL Error #:".$err; |
|
| 201 | 201 | } else { |
| 202 | 202 | dd(json_decode($response)); |
| 203 | 203 | return json_decode($response); |
@@ -23,8 +23,8 @@ discard block |
||
| 23 | 23 | protected $defer = false; |
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | - * Publishes all the config file this package needs to function |
|
| 27 | - */ |
|
| 26 | + * Publishes all the config file this package needs to function |
|
| 27 | + */ |
|
| 28 | 28 | public function boot() |
| 29 | 29 | { |
| 30 | 30 | $config = realpath(__DIR__.'/../resources/config/theteller.php'); |
@@ -35,8 +35,8 @@ discard block |
||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * Register the application services. |
|
| 39 | - */ |
|
| 38 | + * Register the application services. |
|
| 39 | + */ |
|
| 40 | 40 | public function register() |
| 41 | 41 | { |
| 42 | 42 | $this->app->bind('thetellara', function () { |
@@ -47,9 +47,9 @@ discard block |
||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | - * Get the services provided by the provider |
|
| 51 | - * @return array |
|
| 52 | - */ |
|
| 50 | + * Get the services provided by the provider |
|
| 51 | + * @return array |
|
| 52 | + */ |
|
| 53 | 53 | public function provides() |
| 54 | 54 | { |
| 55 | 55 | return ['thetellara']; |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | */ |
| 40 | 40 | public function register() |
| 41 | 41 | { |
| 42 | - $this->app->bind('thetellara', function () { |
|
| 42 | + $this->app->bind('thetellara', function() { |
|
| 43 | 43 | |
| 44 | 44 | return new Thetellara; |
| 45 | 45 | |
@@ -52,6 +52,6 @@ discard block |
||
| 52 | 52 | */ |
| 53 | 53 | public function provides() |
| 54 | 54 | { |
| 55 | - return ['thetellara']; |
|
| 55 | + return [ 'thetellara' ]; |
|
| 56 | 56 | } |
| 57 | 57 | } |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | |
| 2 | 2 | <?php |
| 3 | 3 | |
| 4 | -if (! function_exists("thetellara")) |
|
| 4 | +if (!function_exists("thetellara")) |
|
| 5 | 5 | { |
| 6 | 6 | function thetellara() { |
| 7 | 7 | |