Completed
Push — master ( b416d7...51a9f1 )
by Filipe
02:48
created
src/Entity/EntityCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
     /**
127 127
      * Adds an entity by entity id
128 128
      *
129
-     * @param mixed $entityId
129
+     * @param integer $entityId
130 130
      *
131 131
      * @throws EntityNotFoundException If the provided id is does not
132 132
      *  references an existing entity.
Please login to merge, or discard this patch.
src/Mapper/Relation/HasMany.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      *
73 73
      * @param EntityInterface $entity
74 74
      *
75
-     * @return null|EntityInterface|EntityCollection|EntityInterface[]
75
+     * @return EntityCollectionInterface
76 76
      */
77 77
     public function load(EntityInterface $entity)
78 78
     {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      * Gets the relation conditions
113 113
      *
114 114
      * @param EntityInterface $entity
115
-     * @return array
115
+     * @return string
116 116
      */
117 117
     protected function getConditions(EntityInterface $entity)
118 118
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 use Slick\Common\Utils\Text;
13 13
 use Slick\Database\Sql;
14
+use Slick\Orm\EntityInterface;
14 15
 use Slick\Orm\Entity\EntityCollection;
15 16
 use Slick\Orm\Entity\EntityCollectionInterface;
16
-use Slick\Orm\EntityInterface;
17 17
 use Slick\Orm\Event\EntityAdded;
18 18
 use Slick\Orm\Mapper\RelationInterface;
19 19
 
Please login to merge, or discard this patch.