Completed
Branch feature/pre-split (211a78)
by Anton
05:08
created
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.