Completed
Branch feature/pre-split (211a78)
by Anton
05:08
created
source/Spiral/Database/Entities/Database.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
      * @param string $class Class to be used to represent PDOStatement.
201 201
      * @param array  $args  Class construction arguments, by default array of parameters.
202 202
      *
203
-     * @return ResultInterface|\PDOStatement|PDOQuery
203
+     * @return PDOQuery
204 204
      */
205 205
     public function query($query, array $parameters = [], $class = null, array $args = [])
206 206
     {
Please login to merge, or discard this patch.
source/Spiral/ODM/Entities/Compositor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
     /**
493 493
      * {@inheritdoc}
494 494
      *
495
-     * @return DocumentEntity[]
495
+     * @return \ArrayIterator
496 496
      */
497 497
     public function getIterator()
498 498
     {
@@ -588,7 +588,7 @@  discard block
 block discarded – undo
588 588
      * Example:
589 589
      * $user->cards->findOne(['active' => true]);
590 590
      *
591
-     * @param array|DocumentEntity $query
591
+     * @param DocumentEntity $query
592 592
      *
593 593
      * @return null|DocumentEntity
594 594
      */
Please login to merge, or discard this patch.
source/Spiral/ODM/Entities/DocumentSelector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -436,7 +436,7 @@
 block discarded – undo
436 436
      * Debug information and logging.
437 437
      *
438 438
      * @param \MongoCursor $cursor
439
-     * @param int|bool     $profiling Profiling level
439
+     * @param integer     $profiling Profiling level
440 440
      */
441 441
     protected function describeCursor(
442 442
         \MongoCursor $cursor,
Please login to merge, or discard this patch.
source/Spiral/ODM/Entities/Schemas/DocumentSchema.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     /**
69 69
      * Migration status.
70 70
      *
71
-     * @return int
71
+     * @return boolean
72 72
      */
73 73
     public function getStatus()
74 74
     {
Please login to merge, or discard this patch.
source/Spiral/ORM/Entities/RecordIterator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
      *
76 76
      * @param RecordInterface|string|int $lookup
77 77
      *
78
-     * @return true
78
+     * @return boolean
79 79
      */
80 80
     public function has($lookup)
81 81
     {
Please login to merge, or discard this patch.
source/Spiral/ORM/Entities/RecordSource.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 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
     {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @param mixed $primaryKey Primary key.
64 64
      * @param array $load       Array or relations to be pre-loaded.
65
-     * @return RecordEntity|null
65
+     * @return null|\Spiral\ORM\RecordInterface
66 66
      */
67 67
     public static function findByPK($primaryKey, array $load = [])
68 68
     {
Please login to merge, or discard this patch.
source/Spiral/ORM/ORM.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -253,6 +253,7 @@
 block discarded – undo
253 253
 
254 254
     /**
255 255
      * {@inheritdoc}
256
+     * @param string $container
256 257
      */
257 258
     public function loader($type, $container, array $definition, Loader $parent = null)
258 259
     {
Please login to merge, or discard this patch.