Completed
Pull Request — master (#105)
by Mikołaj
10:14
created
module/Common/src/Service/IpLocationResolver.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
 
29 29
     /**
30
-     * @param $ipAddress
30
+     * @param string $ipAddress
31 31
      * @return array
32 32
      */
33 33
     public function resolveIpLocation($ipAddress)
Please login to merge, or discard this patch.
module/Core/src/Service/UrlShortener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
      * Tries to perform a GET request to provided url, returning true on success and false on failure
100 100
      *
101 101
      * @param UriInterface $url
102
-     * @return bool
102
+     * @return boolean|null
103 103
      */
104 104
     protected function checkUrlExists(UriInterface $url)
105 105
     {
Please login to merge, or discard this patch.
module/Common/src/Paginator/Adapter/PaginableRepositoryAdapter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -25,6 +25,10 @@
 block discarded – undo
25 25
      */
26 26
     private $tags;
27 27
 
28
+    /**
29
+     * @param string $searchTerm
30
+     * @param string $orderBy
31
+     */
28 32
     public function __construct(
29 33
         PaginableRepositoryInterface $paginableRepository,
30 34
         $searchTerm = null,
Please login to merge, or discard this patch.
module/Core/src/Repository/VisitRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     }
21 21
 
22 22
     /**
23
-     * @param ShortUrl|int $shortUrl
23
+     * @param ShortUrl $shortUrl
24 24
      * @param DateRange|null $dateRange
25 25
      * @return Visit[]
26 26
      */
Please login to merge, or discard this patch.
module/CLI/test/Command/Shortcode/ListShortcodesCommandTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -129,6 +129,9 @@
 block discarded – undo
129 129
         $this->assertTrue(strpos($output, 'Tags') > 0);
130 130
     }
131 131
 
132
+    /**
133
+     * @param string $inputData
134
+     */
132 135
     protected function getInputStream($inputData)
133 136
     {
134 137
         $stream = fopen('php://memory', 'r+', false);
Please login to merge, or discard this patch.
module/Core/src/Service/Tag/TagService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @param array $tagNames
42
+     * @param string[] $tagNames
43 43
      * @return void
44 44
      */
45 45
     public function deleteTags(array $tagNames)
Please login to merge, or discard this patch.
module/Rest/src/Action/ListShortcodesAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
     /**
69 69
      * @param array $query
70
-     * @return array
70
+     * @return integer
71 71
      */
72 72
     public function queryToListParams(array $query)
73 73
     {
Please login to merge, or discard this patch.