Completed
Branch develop (c2aa4c)
by Anton
05:17
created
source/Spiral/Core/Component.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * Get instance of container associated with given object, uses global container as fallback
29 29
      * if not. Method generally used by traits.
30 30
      *
31
-     * @return ContainerInterface|null
31
+     * @return ContainerInterface
32 32
      */
33 33
     protected function container()
34 34
     {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      *
51 51
      * @internal Do not use for business logic.
52 52
      * @param ContainerInterface $container Can be set to null.
53
-     * @return ContainerInterface|null
53
+     * @return ContainerInterface
54 54
      */
55 55
     final protected static function staticContainer(ContainerInterface $container = null)
56 56
     {
Please login to merge, or discard this patch.
source/Spiral/ORM/Entities/Loader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
     /**
501 501
      * Create selector dedicated to load data for current loader.
502 502
      *
503
-     * @return RecordSelector|null
503
+     * @return null|RecordSource
504 504
      */
505 505
     public function createSelector()
506 506
     {
@@ -882,7 +882,7 @@  discard block
 block discarded – undo
882 882
      * Parse single result row to generate data tree. Must pass parsing to evert nested loader.
883 883
      *
884 884
      * @param array $row
885
-     * @return bool
885
+     * @return boolean|null
886 886
      */
887 887
     private function parseRow(array $row)
888 888
     {
Please login to merge, or discard this patch.
source/Spiral/ORM/Entities/Relation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
      *
447 447
      * Must be redeclarated in child implementations.
448 448
      *
449
-     * @return RecordSelector
449
+     * @return RecordSource
450 450
      */
451 451
     protected function createSelector()
452 452
     {
@@ -458,7 +458,7 @@  discard block
 block discarded – undo
458 458
      *
459 459
      * @param EntityInterface $entity
460 460
      * @param bool            $validate
461
-     * @return bool|void
461
+     * @return boolean
462 462
      */
463 463
     private function saveEntity(EntityInterface $entity, $validate)
464 464
     {
Please login to merge, or discard this patch.
source/Spiral/ORM/Traits/FindTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * @param array|\Closure $where   Selection WHERE statement.
43 43
      * @param array          $load    Array or relations to be pre-loaded.
44 44
      * @param array          $orderBy Sort by conditions.
45
-     * @return RecordEntity|null
45
+     * @return null|\Spiral\ORM\RecordInterface
46 46
      */
47 47
     public static function findOne($where = [], array $load = [], array $orderBy = [])
48 48
     {
Please login to merge, or discard this patch.
source/Spiral/Tokenizer/Tokenizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
      * @param array  $directories
163 163
      * @param array  $exclude
164 164
      * @param Finder $finder
165
-     * @return ClassLocator
165
+     * @return InvocationLocator
166 166
      */
167 167
     public function invocationLocator(
168 168
         array $directories = [],
Please login to merge, or discard this patch.
source/Spiral/Storage/Configs/StorageConfig.php 1 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\Tokenizer\Configs;
9 9
 
10 10
 use Spiral\Core\InjectableConfig;
Please login to merge, or discard this patch.
source/Spiral/Database/Builders/Prototypes/AbstractSelect.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
      */
345 345
     private function whereWrapper()
346 346
     {
347
-        return function ($parameter) {
347
+        return function($parameter) {
348 348
             if ($parameter instanceof FragmentInterface) {
349 349
                 //We are only not creating bindings for plan fragments
350 350
                 if (!$parameter instanceof ParameterInterface && !$parameter instanceof QueryBuilder) {
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
             }
354 354
 
355 355
             //Wrapping all values with ParameterInterface
356
-            $parameter = new Parameter($parameter, Parameter::DETECT_TYPE);;
356
+            $parameter = new Parameter($parameter, Parameter::DETECT_TYPE); ;
357 357
 
358 358
             //Let's store to sent to driver when needed
359 359
             $this->whereParameters[] = $parameter;
Please login to merge, or discard this patch.
source/Spiral/Database/Configs/DatabasesConfig.php 1 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\Tokenizer\Configs;
9 9
 
10 10
 use Spiral\Core\InjectableConfig;
Please login to merge, or discard this patch.
source/Spiral/ORM/Configs/ORMConfig.php 1 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\Tokenizer\Configs;
9 9
 
10 10
 use Spiral\Core\InjectableConfig;
Please login to merge, or discard this patch.