Completed
Push — master ( d8e3c1...511324 )
by Konstantinos
04:17
created
app/AppKernel.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -252,6 +252,10 @@
 block discarded – undo
252 252
         return false;
253 253
     }
254 254
 
255
+    /**
256
+     * @param Request $request
257
+     * @param integer $type
258
+     */
255 259
     private function handleException(Exception $e, $request, $type)
256 260
     {
257 261
         $event = new GetResponseForExceptionEvent($this, $request, $type, $e);
Please login to merge, or discard this patch.
models/ApiKey.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@  discard block
 block discarded – undo
26 26
         $this->status = $key['status'];
27 27
     }
28 28
 
29
+    /**
30
+     * @param string $name
31
+     */
29 32
     public static function createKey($name, $owner)
30 33
     {
31 34
         $key = self::create(array(
@@ -38,6 +41,9 @@  discard block
 block discarded – undo
38 41
         return $key;
39 42
     }
40 43
 
44
+    /**
45
+     * @param integer $owner
46
+     */
41 47
     public static function getKeyByOwner($owner)
42 48
     {
43 49
         $key = parent::fetchIdFrom($owner, "owner", 'i');
Please login to merge, or discard this patch.
models/Team.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,6 @@
 block discarded – undo
217 217
     /**
218 218
      * Get the description of the team
219 219
      *
220
-     * @param  bool $md false for HTML format, true for the original markdown
221 220
      * @return string  The description of the team
222 221
      */
223 222
     public function getDescription()
Please login to merge, or discard this patch.
src/Command/ChangesCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,6 @@
 block discarded – undo
107 107
      * Parse the command line options concerning the date of the last update
108 108
      *
109 109
      * @param  string          $lastUpdatePath The path to the last update file
110
-     * @param  string          $date|null      The date command line argument
111 110
      * @param  OutputInterface $output         The command's output
112 111
      * @return void
113 112
      */
Please login to merge, or discard this patch.
src/Composer/ConfigHandler.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
 
35 35
     const CAUTION_LINE_LENGTH = 60;
36 36
 
37
+    /**
38
+     * @param Event $event
39
+     */
37 40
     public function __construct($event)
38 41
     {
39 42
         $this->event = $event;
@@ -190,7 +193,7 @@  discard block
 block discarded – undo
190 193
     /**
191 194
      * Write a warning if necessary
192 195
      *
193
-     * @param VariableNode $node The node with the warning
196
+     * @param NodeInterface $node The node with the warning
194 197
      */
195 198
     private function writeWarning($node)
196 199
     {
Please login to merge, or discard this patch.
src/Controller/CRUDController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
      * Get a redirection response to a list of models
202 202
      *
203 203
      * @param  ModelInterface $model The model to whose list we should redirect
204
-     * @return Response
204
+     * @return string
205 205
      */
206 206
     protected function redirectToList($model)
207 207
     {
Please login to merge, or discard this patch.
src/Controller/HTMLController.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -82,6 +82,7 @@
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * {@inheritdoc}
85
+     * @param string $action
85 86
      */
86 87
     public function callAction($action = null)
87 88
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use BZIon\Twig\AppGlobal;
5 5
 use BZIon\Twig\ModelFetcher;
6 6
 use Symfony\Component\HttpFoundation\RedirectResponse;
7
-use Symfony\Component\HttpFoundation\Response;
8 7
 
9 8
 /**
10 9
  * @package BZiON\Controllers
Please login to merge, or discard this patch.
src/Debug/DatabaseDataCollector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     /**
156 156
      * Get the total duration of the database queries in milliseconds
157 157
      *
158
-     * @return float
158
+     * @return integer
159 159
      */
160 160
     public function getDuration()
161 161
     {
Please login to merge, or discard this patch.
src/Form/Transformer/AdvancedModelTransformer.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     protected $types;
14 14
 
15 15
     /**
16
-     * @param string[] $type     The types of the models
16
+     * @param string[] $types     The types of the models
17 17
      */
18 18
     public function __construct(array $types)
19 19
     {
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * Transforms an object (model) to the form representation
29 29
      *
30
-     * @param  Model|null $model
30
+     * @param  Model|null $models
31 31
      * @return array
32 32
      */
33 33
     public function transform($models)
@@ -101,10 +101,9 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * Transform JSON data provided by javascript to a list of Models
103 103
      *
104
-     * @param  string $json The JSON provided to us by javascript, containing
105
-     *                      a list of Model IDs and types
106 104
      * @param  array  $include An array of Models of each type that will be
107 105
      *                         included in the final result
106
+     * @param string $data
108 107
      * @return bool|Model[] A list of models, or false if the data was not
109 108
      *                         provided by javascript as JSON
110 109
      */
Please login to merge, or discard this patch.