Passed
Pull Request — master (#41)
by Thomas
03:03
created
src/EntityManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
      *
389 389
      * @param Entity $entity
390 390
      * @param bool   $useAutoIncrement
391
-     * @return mixed
391
+     * @return boolean
392 392
      * @internal
393 393
      */
394 394
     public function insert(Entity $entity, $useAutoIncrement = true)
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
      *
462 462
      * Without $primaryKey it creates an entityFetcher and returns this.
463 463
      *
464
-     * @param string|Entity $class      The entity class you want to fetch
464
+     * @param string $class      The entity class you want to fetch
465 465
      * @param mixed         $primaryKey The primary key of the entity you want to fetch
466 466
      * @return Entity|EntityFetcher
467 467
      * @throws IncompletePrimaryKey
Please login to merge, or discard this patch.
src/Namer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,8 +148,8 @@
 block discarded – undo
148 148
     /**
149 149
      * Get the column name with $namingScheme or default naming scheme
150 150
      *
151
-     * @param $name
152
-     * @param null $namingScheme
151
+     * @param string $name
152
+     * @param string $namingScheme
153 153
      * @return string
154 154
      */
155 155
     public function getMethodName($name, $namingScheme = null)
Please login to merge, or discard this patch.