Test Failed
Push — master ( aafb57...d1458a )
by Herberto
07:30
created
src/Core/Component/Blog/Application/Query/DQL/FindLatestPostsQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      * to code readability.
55 55
      * However, by using `__invoke()` we lose code completion, so in the end I prefer to use this `execute()` method.
56 56
      *
57
-     * @return LatestPostWithAuthorAndTagsDto[]
57
+     * @return ResultCollectionInterface
58 58
      */
59 59
     public function execute(int $limit = self::NUM_ITEMS): ResultCollectionInterface
60 60
     {
Please login to merge, or discard this patch.
Core/Component/Blog/Application/Query/DQL/FindPostsBySearchRequestQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     /**
47 47
      * @throws \Exception
48 48
      *
49
-     * @return PostsBySearchRequestDto[]
49
+     * @return ResultCollectionInterface
50 50
      */
51 51
     public function execute(string $queryString, int $limit = self::NUM_ITEMS): ResultCollectionInterface
52 52
     {
Please login to merge, or discard this patch.
src/Core/Component/Blog/Domain/Post/Post.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -260,6 +260,9 @@  discard block
 block discarded – undo
260 260
         $this->getTags()->clear();
261 261
     }
262 262
 
263
+    /**
264
+     * @param Comment[] $list
265
+     */
263 266
     private function contains($item, $list): bool
264 267
     {
265 268
         // we need to cast the list to array because it might just actually be a doctrine collection
@@ -267,6 +270,7 @@  discard block
 block discarded – undo
267 270
     }
268 271
 
269 272
     /**
273
+     * @param Comment[] $list
270 274
      * @return false|int|string
271 275
      */
272 276
     private function getKey($item, $list)
Please login to merge, or discard this patch.
src/Core/Component/User/Application/Repository/DQL/UserRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @return User[]
74
+     * @return ResultCollectionInterface
75 75
      */
76 76
     public function findAll(array $orderByList = ['id' => 'DESC'], int $maxResults = null): ResultCollectionInterface
77 77
     {
Please login to merge, or discard this patch.
src/Core/Port/Persistence/DQL/DqlQueryBuilderInterface.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      *         ->leftJoin('u.Phonenumbers', 'p');
56 56
      * </code>
57 57
      *
58
-     * @param string $select the selection expressions
58
+     * @param string[] $select the selection expressions
59 59
      */
60 60
     public function select(string ...$select): self;
61 61
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      *         ->leftJoin('u.Phonenumbers', 'p');
85 85
      * </code>
86 86
      *
87
-     * @param string $select the selection expression
87
+     * @param string[] $select the selection expression
88 88
      */
89 89
     public function addSelect(string ...$select): self;
90 90
 
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      *         ->where('u.id = ?');
252 252
      * </code>
253 253
      *
254
-     * @param mixed $predicates the restriction predicates
254
+     * @param string $predicates the restriction predicates
255 255
      */
256 256
     public function where(string $predicates): self;
257 257
 
@@ -267,7 +267,6 @@  discard block
 block discarded – undo
267 267
      *         ->andWhere('u.is_active = 1');
268 268
      * </code>
269 269
      *
270
-     * @param mixed $where The query restrictions.*
271 270
      *
272 271
      * @see where()
273 272
      */
@@ -285,7 +284,6 @@  discard block
 block discarded – undo
285 284
      *         ->orWhere('u.id = 2');
286 285
      * </code>
287 286
      *
288
-     * @param mixed $where The WHERE statement.*
289 287
      *
290 288
      * @see where()
291 289
      */
Please login to merge, or discard this patch.
TemplateEngine/Twig/Extension/SourceCode/SourceCodeExtension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
      */
38 38
     private $controller;
39 39
 
40
+    /**
41
+     * @param callable $controller
42
+     */
40 43
     public function setController(?callable $controller): void
41 44
     {
42 45
         $this->controller = $controller;
Please login to merge, or discard this patch.