Completed
Push — master ( 4d2317...3f6014 )
by Anton
12:12 queued 07:41
created
source/Spiral/Tokenizer/Exceptions/TokenizerException.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;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/ODM/ODM.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;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/ODM/Exceptions/SchemaException.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;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/Models/IdentifiedInterface.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;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/Files/FileManager.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;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
source/Spiral/Models/Exceptions/EntityException.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;
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
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/ODM/Entities/DocumentSelector.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@
 block discarded – undo
257 257
     /**
258 258
      * {@inheritdoc}
259 259
      *
260
-     * @return DocumentCursor|Document[]
260
+     * @return DocumentCursor
261 261
      */
262 262
     public function getIterator()
263 263
     {
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
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
      */
151 151
     public function query(array $query = [])
152 152
     {
153
-        array_walk_recursive($query, function (&$value) {
153
+        array_walk_recursive($query, function(&$value) {
154 154
             if ($value instanceof \DateTime) {
155 155
                 //MongoDate is always UTC, which is good :)
156 156
                 $value = new \MongoDate($value->getTimestamp());
Please login to merge, or discard this patch.
source/Spiral/ORM/Entities/RecordSelector.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.