| @@ -104,7 +104,7 @@ | ||
| 104 | 104 | |
| 105 | 105 | /** | 
| 106 | 106 | * @param CommandContextInterface $commandContext | 
| 107 | - * @return mixed | |
| 107 | + * @return integer|null | |
| 108 | 108 | */ | 
| 109 | 109 |      protected function exec(CommandContextInterface $commandContext) { | 
| 110 | 110 | $commandChunks = $this->compile($commandContext); | 
| @@ -121,7 +121,7 @@ discard block | ||
| 121 | 121 | * @param \App\Satis\Collections\PackageCollection $packageCollection | 
| 122 | 122 | * @param string $packageId | 
| 123 | 123 | * @param \Illuminate\Support\Collection $input | 
| 124 | - * @return \App\Satis\Collections\RepositoryCollection | |
| 124 | + * @return PackageCollection | |
| 125 | 125 | * @throws \App\Satis\Exceptions\PackageNotFoundException | 
| 126 | 126 | */ | 
| 127 | 127 | protected function _addOrUpdatePackage(PackageCollection $packageCollection, $packageId, | 
| @@ -179,7 +179,7 @@ discard block | ||
| 179 | 179 | /** | 
| 180 | 180 | * @param \App\Satis\Collections\PackageCollection $packageCollection | 
| 181 | 181 | * @param string $packageId | 
| 182 | - * @return \App\Satis\Collections\RepositoryCollection | |
| 182 | + * @return PackageCollection | |
| 183 | 183 | * @throws \App\Satis\Exceptions\RepositoryNotFoundException | 
| 184 | 184 | */ | 
| 185 | 185 |      protected function _deletePackage(PackageCollection $packageCollection, $packageId) { | 
| @@ -315,7 +315,7 @@ discard block | ||
| 315 | 315 | return $this->serializer->serialize($output, 'json'); | 
| 316 | 316 | } | 
| 317 | 317 | |
| 318 | - /** | |
| 318 | + /** | |
| 319 | 319 | * @param string|null $packageId | 
| 320 | 320 | * @return string | 
| 321 | 321 | * @throws \App\Satis\Exceptions\PackageNotFoundException | 
| @@ -336,7 +336,7 @@ discard block | ||
| 336 | 336 | return $this->serializer->serialize($output, 'json'); | 
| 337 | 337 | } | 
| 338 | 338 | |
| 339 | - /** | |
| 339 | + /** | |
| 340 | 340 | * @param \App\Satis\BuildContext $buildContext | 
| 341 | 341 | */ | 
| 342 | 342 |      public function forceBuild(BuildContext $buildContext) { | 
| @@ -65,7 +65,7 @@ discard block | ||
| 65 | 65 | $repositories = $configManager->getPackages($packageId); | 
| 66 | 66 | |
| 67 | 67 | Response::make($repositories) | 
| 68 | - ->send(); | |
| 68 | + ->send(); | |
| 69 | 69 |          } catch(RepositoryNotFoundException $e) { | 
| 70 | 70 | Response::json() | 
| 71 | 71 | ->setStatusCode(404) | 
| @@ -117,5 +117,5 @@ discard block | ||
| 117 | 117 | ->setStatusCode(500) | 
| 118 | 118 | ->send(); | 
| 119 | 119 | } | 
| 120 | - } | |
| 120 | + } | |
| 121 | 121 | } | 
| @@ -65,7 +65,7 @@ discard block | ||
| 65 | 65 | $repositories = $configManager->getRepositories($repositoryId); | 
| 66 | 66 | |
| 67 | 67 | Response::make($repositories) | 
| 68 | - ->send(); | |
| 68 | + ->send(); | |
| 69 | 69 |          } catch(RepositoryNotFoundException $e) { | 
| 70 | 70 | Response::json() | 
| 71 | 71 | ->setStatusCode(404) | 
| @@ -117,5 +117,5 @@ discard block | ||
| 117 | 117 | ->setStatusCode(500) | 
| 118 | 118 | ->send(); | 
| 119 | 119 | } | 
| 120 | - } | |
| 120 | + } | |
| 121 | 121 | } | 
| @@ -18,7 +18,7 @@ discard block | ||
| 18 | 18 | * @author Lukas Homza <[email protected]> | 
| 19 | 19 | */ | 
| 20 | 20 |  class Controller extends BaseController { | 
| 21 | - /** | |
| 21 | + /** | |
| 22 | 22 | * @param \App\Satis\ConfigManager $configManager | 
| 23 | 23 | * @param \App\Satis\BuildContext $buildContext | 
| 24 | 24 | * @param \Illuminate\Http\Request $request | 
| @@ -73,7 +73,7 @@ discard block | ||
| 73 | 73 | ]); | 
| 74 | 74 | } | 
| 75 | 75 | |
| 76 | - /** | |
| 76 | + /** | |
| 77 | 77 | * @param \App\Satis\ConfigManager $configManager | 
| 78 | 78 | * @param \Illuminate\Http\Request $request | 
| 79 | 79 | */ | 
| @@ -81,7 +81,7 @@ discard block | ||
| 81 | 81 | $this->build($configManager, new PrivateRepository(), $request); | 
| 82 | 82 | } | 
| 83 | 83 | |
| 84 | - /** | |
| 84 | + /** | |
| 85 | 85 | * @param \App\Satis\ConfigManager $configManager | 
| 86 | 86 | * @param \Illuminate\Http\Request $request | 
| 87 | 87 | */ | 
| @@ -23,7 +23,7 @@ | ||
| 23 | 23 | * @author Lukas Homza <[email protected]> | 
| 24 | 24 | */ | 
| 25 | 25 |  class SatisServiceProvider extends ServiceProvider { | 
| 26 | - /** | |
| 26 | + /** | |
| 27 | 27 | * @return void | 
| 28 | 28 | */ | 
| 29 | 29 |      public function boot() { | 
| @@ -12,7 +12,7 @@ | ||
| 12 | 12 | /** @var string $itemName */ | 
| 13 | 13 | protected $itemName; | 
| 14 | 14 | |
| 15 | - /** | |
| 15 | + /** | |
| 16 | 16 | * @return int | 
| 17 | 17 | */ | 
| 18 | 18 | abstract public function getType(); | 
| @@ -12,7 +12,7 @@ | ||
| 12 | 12 | */ | 
| 13 | 13 | public function getOutputRedirection($logFile); | 
| 14 | 14 | |
| 15 | - /** | |
| 15 | + /** | |
| 16 | 16 | * @return string | 
| 17 | 17 | */ | 
| 18 | 18 | public function getShouldUnlockOnCompletion(); | 
| @@ -20,7 +20,7 @@ discard block | ||
| 20 | 20 | /** @var bool $asyncMode */ | 
| 21 | 21 | protected $asyncMode = true; | 
| 22 | 22 | |
| 23 | - /** | |
| 23 | + /** | |
| 24 | 24 | * ConfigBuilder constructor. | 
| 25 | 25 | * @param \App\Satis\ConfigPersister $configPersister | 
| 26 | 26 | */ | 
| @@ -48,7 +48,7 @@ discard block | ||
| 48 | 48 | return $this; | 
| 49 | 49 | } | 
| 50 | 50 | |
| 51 | - /** | |
| 51 | + /** | |
| 52 | 52 | * @return bool|null | 
| 53 | 53 | * @throws \App\Satis\Exceptions\PackageBuildFailedException | 
| 54 | 54 | */ |