Completed
Branch master (7a6616)
by Ivannis Suárez
03:47
created
Url.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      *
115 115
      * @throws \InvalidArgumentException
116 116
      *
117
-     * @return string
117
+     * @return StringLiteral
118 118
      */
119 119
     protected function parseScheme($url)
120 120
     {
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      *
185 185
      * @throws \InvalidArgumentException
186 186
      *
187
-     * @return string
187
+     * @return StringLiteral
188 188
      */
189 189
     protected function parseQueryString($url)
190 190
     {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      *
204 204
      * @throws \InvalidArgumentException
205 205
      *
206
-     * @return string
206
+     * @return StringLiteral
207 207
      */
208 208
     protected function parseFragmentIdentifier($url)
209 209
     {
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     }
257 257
 
258 258
     /**
259
-     * @return int
259
+     * @return Port
260 260
      */
261 261
     public function port()
262 262
     {
Please login to merge, or discard this patch.
Tests/Units/EmailAddressTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             ->then()
65 65
                 ->boolean($email->isEmpty())
66 66
                     ->isFalse()
67
-            ->exception(function () {
67
+            ->exception(function() {
68 68
                 EmailAddress::fromNative('');
69 69
             })->isInstanceOf(\InvalidArgumentException::class)
70 70
         ;
Please login to merge, or discard this patch.
Tests/Units/UrlTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             ->then()
68 68
                 ->boolean($url->isEmpty())
69 69
                     ->isFalse()
70
-                ->exception(function () {
70
+                ->exception(function() {
71 71
                     Url::fromNative('');
72 72
                 })->isInstanceOf(\InvalidArgumentException::class)
73 73
         ;
Please login to merge, or discard this patch.
Tests/Units/HostNameTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             ->then()
47 47
                 ->boolean($email->isEmpty())
48 48
                     ->isFalse()
49
-                ->exception(function () {
49
+                ->exception(function() {
50 50
                     HostName::fromNative('');
51 51
                 })->isInstanceOf(\InvalidArgumentException::class)
52 52
             ;
Please login to merge, or discard this patch.
Tests/Units/IPAddressTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
             ->then()
63 63
                 ->boolean($email->isEmpty())
64 64
                     ->isFalse()
65
-                ->exception(function () {
65
+                ->exception(function() {
66 66
                     IPAddress::fromNative('');
67 67
                 })->isInstanceOf(\InvalidArgumentException::class)
68 68
         ;
Please login to merge, or discard this patch.