@@ -178,7 +178,7 @@ |
||
| 178 | 178 | |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * @return string |
|
| 181 | + * @return integer |
|
| 182 | 182 | */ |
| 183 | 183 | public function getSavedAtAsTimestamp() |
| 184 | 184 | { |
@@ -24,13 +24,13 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | protected function registerContainerBindings(Container $container) |
| 26 | 26 | { |
| 27 | - $container->singleton(FileFactoryContract::class, function () { |
|
| 27 | + $container->singleton(FileFactoryContract::class, function() { |
|
| 28 | 28 | return new FileFactory(File::class); |
| 29 | 29 | }); |
| 30 | 30 | |
| 31 | 31 | $entityManager = $container->make(EntityManagerInterface::class); |
| 32 | 32 | |
| 33 | - $container->singleton(FileStorageContract::class, function () use ($entityManager) { |
|
| 33 | + $container->singleton(FileStorageContract::class, function() use ($entityManager) { |
|
| 34 | 34 | return new FileStorage($entityManager); |
| 35 | 35 | }); |
| 36 | 36 | } |
@@ -24,13 +24,13 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | protected function registerContainerBindings(Container $container) |
| 26 | 26 | { |
| 27 | - $container->singleton(FileFactoryContract::class, function () { |
|
| 27 | + $container->singleton(FileFactoryContract::class, function() { |
|
| 28 | 28 | return new FileFactory(File::class); |
| 29 | 29 | }); |
| 30 | 30 | |
| 31 | 31 | $documentManager = $container->make(DocumentManager::class); |
| 32 | 32 | |
| 33 | - $container->singleton(FileStorageContract::class, function () use ($documentManager) { |
|
| 33 | + $container->singleton(FileStorageContract::class, function() use ($documentManager) { |
|
| 34 | 34 | return new FileStorage($documentManager); |
| 35 | 35 | }); |
| 36 | 36 | } |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | { |
| 38 | 38 | $container->alias(FileManager::class, FileManagerContract::class); |
| 39 | 39 | |
| 40 | - $container->singleton(FileManagerContract::class, function () use ($container, $config) { |
|
| 40 | + $container->singleton(FileManagerContract::class, function() use ($container, $config) { |
|
| 41 | 41 | return $this->createManager($container, $config); |
| 42 | 42 | }); |
| 43 | 43 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('files', function (Blueprint $table) { |
|
| 16 | + Schema::create('files', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('file_id')->unique(); |
| 19 | 19 | $table->string('name'); |
@@ -24,11 +24,11 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | protected function registerContainerBindings(Container $container) |
| 26 | 26 | { |
| 27 | - $container->singleton(FileFactoryContract::class, function () { |
|
| 27 | + $container->singleton(FileFactoryContract::class, function() { |
|
| 28 | 28 | return new FileFactory(File::class); |
| 29 | 29 | }); |
| 30 | 30 | |
| 31 | - $container->singleton(FileStorageContract::class, function () { |
|
| 31 | + $container->singleton(FileStorageContract::class, function() { |
|
| 32 | 32 | return new FileStorage(); |
| 33 | 33 | }); |
| 34 | 34 | } |
@@ -178,7 +178,7 @@ |
||
| 178 | 178 | |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * @return string |
|
| 181 | + * @return integer |
|
| 182 | 182 | */ |
| 183 | 183 | public function getSavedAtAsTimestamp() |
| 184 | 184 | { |
@@ -178,7 +178,7 @@ |
||
| 178 | 178 | |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * @return string |
|
| 181 | + * @return integer |
|
| 182 | 182 | */ |
| 183 | 183 | public function getSavedAtAsTimestamp() |
| 184 | 184 | { |
@@ -180,7 +180,7 @@ |
||
| 180 | 180 | |
| 181 | 181 | |
| 182 | 182 | /** |
| 183 | - * @return mixed |
|
| 183 | + * @return string |
|
| 184 | 184 | */ |
| 185 | 185 | protected function generateId() |
| 186 | 186 | { |