Completed
Pull Request — master (#36)
by
unknown
02:53
created
app/Satis/BuildCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
app/Satis/ConfigManager.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
app/Http/Controllers/Api/PackageController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
117 117
                 ->setStatusCode(500)
118 118
                 ->send();
119 119
         }
120
-	}
120
+    }
121 121
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Api/RepositoryController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
117 117
                 ->setStatusCode(500)
118 118
                 ->send();
119 119
         }
120
-	}
120
+    }
121 121
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Controller.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
app/Providers/SatisServiceProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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() {
Please login to merge, or discard this patch.
app/Satis/BuildContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
app/Satis/CommandContextInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function getOutputRedirection($logFile);
14 14
 
15
-	/**
15
+    /**
16 16
      * @return string
17 17
      */
18 18
     public function getShouldUnlockOnCompletion();
Please login to merge, or discard this patch.
app/Satis/ConfigBuilder.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
48 48
         return $this;
49 49
     }
50 50
 
51
-	/**
51
+    /**
52 52
      * @return bool|null
53 53
      * @throws \App\Satis\Exceptions\PackageBuildFailedException
54 54
      */
Please login to merge, or discard this patch.