Completed
Push — master ( c7cba4...39b3b0 )
by Anton
05:57
created
source/Spiral/Database/Builders/SelectQuery.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * Set table names SELECT query should be performed for. Table names can be provided with
59 59
      * specified alias (AS construction).
60 60
      *
61
-     * @param array|string|mixed $tables Array of names, comma separated string or set of
61
+     * @param string $tables Array of names, comma separated string or set of
62 62
      *                                   parameters.
63 63
      * @return $this
64 64
      */
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * Alias for columns() method.
89 89
      *
90
-     * @param array|string|mixed $columns Array of names, comma separated string or set of
90
+     * @param string $columns Array of names, comma separated string or set of
91 91
      *                                    parameters.
92 92
      * @return $this
93 93
      */
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/Database/Entities/Schemas/AbstractTable.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
      * $table->unique(['key', 'key2']);
365 365
      *
366 366
      * @param mixed $columns Column name, or array of columns.
367
-     * @return AbstractColumn|null
367
+     * @return AbstractIndex
368 368
      */
369 369
     public function unique($columns)
370 370
     {
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
      * name.
379 379
      *
380 380
      * @param string $column Column name.
381
-     * @return AbstractReference|null
381
+     * @return AbstractReference
382 382
      */
383 383
     public function foreign($column)
384 384
     {
@@ -943,7 +943,7 @@  discard block
 block discarded – undo
943 943
     }
944 944
 
945 945
     /**
946
-     * @return AbstractColumn|string
946
+     * @return string
947 947
      */
948 948
     public function __toString()
949 949
     {
Please login to merge, or discard this patch.
Indentation   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
-
8
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
9 8
 namespace Spiral\Templater;
10 9
 
11 10
 use Spiral\Templater\Behaviours\BlockBehaviourInterface;
Please login to merge, or discard this patch.
source/Spiral/Http/Routing/Router.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,6 @@
 block discarded – undo
62 62
      *
63 63
      * @param RouteInterface|array $default Default route or options to construct instance of
64 64
      *                                      DirectRoute.
65
-     * @param bool                 $keepOutput
66 65
      * @throws RouterException
67 66
      */
68 67
     public function __construct(
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/ORM/Entities/Loader.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -881,7 +881,7 @@
 block discarded – undo
881 881
      * Parse single result row to generate data tree. Must pass parsing to evert nested loader.
882 882
      *
883 883
      * @param array $row
884
-     * @return bool
884
+     * @return boolean|null
885 885
      */
886 886
     private function parseRow(array $row)
887 887
     {
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/ORM/Entities/Schemas/RecordSchema.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      * value using class name and Doctrine inflector.
131 131
      *
132 132
      * @see Record::$table
133
-     * @return mixed
133
+     * @return string
134 134
      */
135 135
     public function getTable()
136 136
     {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      * Get database where record data should be stored in. Database alias must be resolved.
150 150
      *
151 151
      * @see Record::$database
152
-     * @return mixed
152
+     * @return string
153 153
      */
154 154
     public function getDatabase()
155 155
     {
@@ -463,7 +463,7 @@  discard block
 block discarded – undo
463 463
      * @param AbstractColumn $column
464 464
      * @param string         $definition
465 465
      * @param mixed          $default Default value declared by record schema.
466
-     * @return mixed
466
+     * @return AbstractColumn
467 467
      * @throws DefinitionException
468 468
      * @throws \Spiral\Database\Exceptions\SchemaException
469 469
      */
Please login to merge, or discard this patch.
Indentation   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
-
8
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
9 8
 namespace Spiral\Templater;
10 9
 
11 10
 use Spiral\Templater\Behaviours\BlockBehaviourInterface;
Please login to merge, or discard this patch.
source/Spiral/ORM/Entities/Selector.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
      *
458 458
      * @see findOne()
459 459
      * @param mixed $id Primary key value.
460
-     * @return RecordEntity|null
460
+     * @return null|RecordInterface
461 461
      * @throws SelectorException
462 462
      */
463 463
     public function findByPK($id)
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
      * @see findByPK()
483 483
      * @param array $where    Selection WHERE statement.
484 484
      * @param bool  $setLimit Use limit 1.
485
-     * @return RecordEntity|null
485
+     * @return null|RecordInterface
486 486
      */
487 487
     public function findOne(array $where = [], $setLimit = true)
488 488
     {
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/Pagination/Paginator.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -155,6 +155,7 @@
 block discarded – undo
155 155
 
156 156
     /**
157 157
      * {@inheritdoc}
158
+     * @param integer $count
158 159
      */
159 160
     public function setCount($count)
160 161
     {
Please login to merge, or discard this patch.
source/Spiral/Templater/Templater.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
      * Must parse token and element name to register (or not) instance of ImportInterface.
229 229
      *
230 230
      * @see addImport()
231
-     * @param array $name
231
+     * @param string $name
232 232
      * @param array $token
233 233
      * @throws TemplaterException
234 234
      */
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral Framework.
4
- *
5
- * @license   MIT
6
- * @author    Anton Titov (Wolfy-J)
7
- */
3
+     * Spiral Framework.
4
+     *
5
+     * @license   MIT
6
+     * @author    Anton Titov (Wolfy-J)
7
+     */
8 8
 namespace Spiral;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@
 block discarded – undo
245 245
      */
246 246
     abstract protected function getSource(
247 247
         $location,
248
-        Templater &$templater = null,
248
+        Templater & $templater = null,
249 249
         array $token = []
250 250
     );
251 251
 
Please login to merge, or discard this patch.
configs/database.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Configuration of spiral DatabaseProvider.
4
- * - default database alias/name
5
- * - list of database name aliases used for injections and other operations
6
- * - list of databases associated with their source connection
7
- * - list of connections associated with their driver and connection options
8
- */
3
+     * Configuration of spiral DatabaseProvider.
4
+     * - default database alias/name
5
+     * - list of database name aliases used for injections and other operations
6
+     * - list of databases associated with their source connection
7
+     * - list of connections associated with their driver and connection options
8
+     */
9 9
 use Spiral\Database\Drivers;
10 10
 
11 11
 return [
Please login to merge, or discard this patch.