@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * extend the functionality of the default get() of the Repository |
| 39 | 39 | * but always prepend the keys with the config file name. |
| 40 | 40 | * |
| 41 | - * @param $key |
|
| 41 | + * @param string $key |
|
| 42 | 42 | * |
| 43 | 43 | * @return mixed |
| 44 | 44 | */ |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | /** |
| 51 | 51 | * helper function to return the driver default name. |
| 52 | 52 | * |
| 53 | - * @return mixed |
|
| 53 | + * @return string |
|
| 54 | 54 | */ |
| 55 | 55 | public function driverName() |
| 56 | 56 | { |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | /** |
| 61 | 61 | * helper function to return the parameters of the driver $name. |
| 62 | 62 | * |
| 63 | - * @param $name |
|
| 63 | + * @param string $name |
|
| 64 | 64 | * |
| 65 | 65 | * @return mixed |
| 66 | 66 | */ |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | /** |
| 102 | 102 | * Load the configuration items from all of the files. |
| 103 | 103 | * |
| 104 | - * @param $path |
|
| 104 | + * @param string $path |
|
| 105 | 105 | */ |
| 106 | 106 | private function loadConfigurationFiles($path) |
| 107 | 107 | { |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | - * @param $url |
|
| 48 | + * @param string $url |
|
| 49 | 49 | * @param $parameters |
| 50 | 50 | * |
| 51 | 51 | * @return mixed |
@@ -87,12 +87,12 @@ |
||
| 87 | 87 | private function facadeBindings() |
| 88 | 88 | { |
| 89 | 89 | // Register 'vinelab.shorten' instance container |
| 90 | - $this->app['vinelab.shorten'] = $this->app->share(function ($app) { |
|
| 90 | + $this->app['vinelab.shorten'] = $this->app->share(function($app) { |
|
| 91 | 91 | return $app->make('Vinelab\UrlShortener\Shorten'); |
| 92 | 92 | }); |
| 93 | 93 | |
| 94 | 94 | // Register 'Shorten' Alias, So users don't have to add the Alias to the 'app/config/app.php' |
| 95 | - $this->app->booting(function () { |
|
| 95 | + $this->app->booting(function() { |
|
| 96 | 96 | $loader = \Illuminate\Foundation\AliasLoader::getInstance(); |
| 97 | 97 | $loader->alias('Shorten', 'Vinelab\UrlShortener\Facades\ShortenFacadeAccessor'); |
| 98 | 98 | }); |