Completed
Push — master ( 0330ad...fd62a8 )
by Filipe
03:14
created
src/Mapper/EntityMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      *
79 79
      * @param EntityInterface $entity
80 80
      *
81
-     * @return self|$this|EntityInterface
81
+     * @return EntityMapper
82 82
      */
83 83
     public function delete(EntityInterface $entity)
84 84
     {
Please login to merge, or discard this patch.
src/Orm.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use League\Event\EmitterInterface;
14 14
 use League\Event\ListenerInterface;
15 15
 use Slick\Database\Adapter\AdapterInterface;
16
-use Slick\Orm\Descriptor\EntityDescriptor;
17 16
 use Slick\Orm\Descriptor\EntityDescriptorRegistry;
18 17
 use Slick\Orm\Event\EmittersMap;
19 18
 use Slick\Orm\Exception\InvalidArgumentException;
Please login to merge, or discard this patch.
src/Mapper/EventTriggers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * Triggers the before save event
29 29
      *
30
-     * @param Sql/Update|Sql/Insert $query
30
+     * @param \Slick\Database\Sql\SqlInterface $query
31 31
      * @param EntityInterface $entity
32 32
      * @param array $data
33 33
      *
Please login to merge, or discard this patch.
src/Repository/EntityRepository.php 1 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\Database\Sql;
13 13
 use Slick\Orm\EntityInterface;
14
+use Slick\Orm\RepositoryInterface;
14 15
 use Slick\Orm\Repository\QueryObject\QueryObject;
15 16
 use Slick\Orm\Repository\QueryObject\QueryObjectInterface;
16
-use Slick\Orm\RepositoryInterface;
17 17
 
18 18
 /**
19 19
  * Class EntityRepository
Please login to merge, or discard this patch.
src/Repository/QueryObject/QueryObject.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
 use Slick\Orm\Descriptor\EntityDescriptorInterface;
16 16
 use Slick\Orm\Descriptor\EntityDescriptorRegistry;
17 17
 use Slick\Orm\Descriptor\Field\FieldDescriptor;
18
-use Slick\Orm\Entity\EntityCollection;
19 18
 use Slick\Orm\EntityInterface;
20 19
 use Slick\Orm\EntityMapperInterface;
20
+use Slick\Orm\Entity\EntityCollection;
21 21
 
22 22
 /**
23 23
  * Generic Entity Mapper
Please login to merge, or discard this patch.
src/Repository/QueryObject/SelectEventTriggers.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @param Select $query
37 37
      * @param EntityDescriptorInterface $entityDescriptor
38 38
      *
39
-     * @return \League\Event\EventInterface|string
39
+     * @return \League\Event\EventInterface
40 40
      */
41 41
     public function triggerBeforeSelect(
42 42
         Select $query, EntityDescriptorInterface $entityDescriptor
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
      * Emits the after select event
58 58
      *
59 59
      * @param RecordList $data
60
-     * @param EntityCollection $entity
60
+     * @param EntityCollection $entities
61 61
      *
62
-     * @return \League\Event\EventInterface|string
62
+     * @return \League\Event\EventInterface
63 63
      */
64 64
     public function triggerAfterSelect($data, EntityCollection $entities)
65 65
     {
Please login to merge, or discard this patch.