@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | declare(strict_types = 1); |
| 3 | 3 | /** |
| 4 | - * This file is part of GitterBot package. |
|
| 5 | - * |
|
| 6 | - * @author Serafim <[email protected]> |
|
| 7 | - * @date 28.03.2016 14:06 |
|
| 8 | - * |
|
| 9 | - * For the full copyright and license information, please view the LICENSE |
|
| 10 | - * file that was distributed with this source code. |
|
| 11 | - */ |
|
| 4 | + * This file is part of GitterBot package. |
|
| 5 | + * |
|
| 6 | + * @author Serafim <[email protected]> |
|
| 7 | + * @date 28.03.2016 14:06 |
|
| 8 | + * |
|
| 9 | + * For the full copyright and license information, please view the LICENSE |
|
| 10 | + * file that was distributed with this source code. |
|
| 11 | + */ |
|
| 12 | 12 | namespace Core\Mappers\Message; |
| 13 | 13 | |
| 14 | 14 | use Domains\Message\Message; |
@@ -1,14 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | declare(strict_types = 1); |
| 3 | 3 | /** |
| 4 | - * This file is part of GitterBot package. |
|
| 5 | - * |
|
| 6 | - * @author Serafim <[email protected]> |
|
| 7 | - * @date 03.03.2016 15:00 |
|
| 8 | - * |
|
| 9 | - * For the full copyright and license information, please view the LICENSE |
|
| 10 | - * file that was distributed with this source code. |
|
| 11 | - */ |
|
| 4 | + * This file is part of GitterBot package. |
|
| 5 | + * |
|
| 6 | + * @author Serafim <[email protected]> |
|
| 7 | + * @date 03.03.2016 15:00 |
|
| 8 | + * |
|
| 9 | + * For the full copyright and license information, please view the LICENSE |
|
| 10 | + * file that was distributed with this source code. |
|
| 11 | + */ |
|
| 12 | 12 | |
| 13 | 13 | |
| 14 | 14 | namespace Core\Providers; |
@@ -35,11 +35,11 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | public function register() |
| 37 | 37 | { |
| 38 | - AnnotationRegistry::registerLoader(function ($class) { |
|
| 38 | + AnnotationRegistry::registerLoader(function($class) { |
|
| 39 | 39 | return class_exists($class); |
| 40 | 40 | }); |
| 41 | 41 | |
| 42 | - $this->app->singleton(Reader::class, function (Application $app) { |
|
| 42 | + $this->app->singleton(Reader::class, function(Application $app) { |
|
| 43 | 43 | $debug = $app->make(Repository::class)->get('app.debug', false); |
| 44 | 44 | $cache = $app->make($debug ? ArrayCache::class : CacheBridge::class); |
| 45 | 45 | |