Completed
Push — master ( 57b531...5d4578 )
by Filipe
02:14
created
src/Mapper/EntityMapper.php 2 patches
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.
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/Repository/EntityRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 use Slick\Database\Sql;
13 13
 use Slick\Orm\EntityInterface;
14
-use Slick\Orm\EntityMapperInterface;
15 14
 use Slick\Orm\RepositoryInterface;
16 15
 
17 16
 /**
Please login to merge, or discard this patch.
src/Orm.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * an optional third parameter specifying the priority as an integer. You
140 140
      * may use one of EmitterInterface predefined constants here if you want.
141 141
      *
142
-     * @param string|EntityInterface     $entityClass
142
+     * @param Entity     $entityClass
143 143
      * @param string                     $event
144 144
      * @param ListenerInterface|callable $listener
145 145
      * @param int                        $priority
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
      *
314 314
      * @param string $entity
315 315
      *
316
-     * @return EntityDescriptor|string
316
+     * @return string
317 317
      */
318 318
     private function getAdapterAlias($entity)
319 319
     {
Please login to merge, or discard this patch.