Passed
Push — master ( 998b4d...c948bf )
by Thomas
02:32
created
src/Dbal/Escaping.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      * Escape a date time object for query
90 90
      *
91 91
      * @param DateTime $value
92
-     * @return mixed
92
+     * @return string
93 93
      */
94 94
     protected function escapeDateTime(DateTime $value)
95 95
     {
Please login to merge, or discard this patch.
src/Testing/EntityFetcherMock/ResultRepository.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
      * RANDOM_KEY_MIN and RANDOM_KEY_MAX (at the time writing this it is 1000000000 and 1000999999).
40 40
      *
41 41
      * @param Entity ...$entities
42
+     * @param Entity[] $entities
42 43
      * @return Entity[]
43 44
      */
44 45
     public static function completePrimaryKeys(Entity ...$entities)
@@ -97,6 +98,7 @@  discard block
 block discarded – undo
97 98
      *
98 99
      * @param $class
99 100
      * @param Entity ...$entities
101
+     * @param Entity[] $entities
100 102
      * @return Result|m\MockInterface
101 103
      */
102 104
     public function addResult($class, Entity ...$entities)
Please login to merge, or discard this patch.
src/Testing/EntityManagerMock.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,8 +56,9 @@
 block discarded – undo
56 56
      *
57 57
      * As the results are mocked to come from the database they will also get a primary key if they don't have already.
58 58
      *
59
-     * @param $class
59
+     * @param string $class
60 60
      * @param Entity ...$entities
61
+     * @param Entity[] $entities
61 62
      * @return Result|m\MockInterface
62 63
      * @codeCoverageIgnore proxy method
63 64
      */
Please login to merge, or discard this patch.
src/Testing/MocksEntityManager.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * Get the EntityManagerMock for $class
22 22
      *
23
-     * @param $class
23
+     * @param string $class
24 24
      * @return EntityManagerMock|m\MockInterface|EntityManager
25 25
      * @codeCoverageIgnore proxy method
26 26
      */
@@ -130,6 +130,7 @@  discard block
 block discarded – undo
130 130
      *
131 131
      * @param string $class The class of an Entity
132 132
      * @param Entity ...$entities The entities that will be returned
133
+     * @param Entity[] $entities
133 134
      * @return EntityFetcherMock\Result|m\MockInterface
134 135
      * @codeCoverageIgnore trivial code
135 136
      */
@@ -260,7 +261,7 @@  discard block
 block discarded – undo
260 261
      *
261 262
      * Entity has to be a mock use `emCreateMockedEntity()` to create it.
262 263
      *
263
-     * @param Entity|m\MockInterface $entity
264
+     * @param m\MockInterface $entity
264 265
      * @param array  $changingData Emulate changing data during update statement (triggers etc)
265 266
      * @param array  $updatedData  Emulate data changes in database
266 267
      */
@@ -275,7 +276,7 @@  discard block
 block discarded – undo
275 276
      *
276 277
      * Entity has to be a mock use `emCreateMockedEntity()` to create it.
277 278
      *
278
-     * @param Entity|m\MockInterface $entity
279
+     * @param m\MockInterface $entity
279 280
      * @param array $changingData Emulate changing data during update statement (triggers etc)
280 281
      * @param array $updatedData Emulate data changes in database
281 282
      * @return m\Expectation
Please login to merge, or discard this patch.