Completed
Push — master ( f72deb...78ed9f )
by Derek
04:03
created
spec/Anshar/Http/RequestSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace spec\Subreality\Dilmun\Anshar\Http;
4 4
 
5
+use PhpSpec\ObjectBehavior;
5 6
 use Psr\Http\Message\StreamInterface;
6 7
 use Psr\Http\Message\UriInterface;
7 8
 use Subreality\Dilmun\Anshar\Http\Request;
8
-use PhpSpec\ObjectBehavior;
9 9
 
10 10
 /**
11 11
  * Class RequestSpec
Please login to merge, or discard this patch.
spec/Anshar/Http/UriSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace spec\Subreality\Dilmun\Anshar\Http;
3 3
 
4
-use Subreality\Dilmun\Anshar\Http\Uri;
5 4
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
5
+use Subreality\Dilmun\Anshar\Http\Uri;
7 6
 
8 7
 class UriSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
src/Anshar/Http/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      * Checks if a header exists by the given case-insensitive name.
107 107
      *
108 108
      * @param string $name Case-insensitive header field name.
109
-     * @return bool Returns true if any header names match the given header
109
+     * @return boolean|null Returns true if any header names match the given header
110 110
      *     name using a case-insensitive string comparison. Returns false if
111 111
      *     no matching header name is found in the message.
112 112
      */
Please login to merge, or discard this patch.
src/Anshar/Http/Uri.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -397,6 +397,9 @@
 block discarded – undo
397 397
         // TODO: Implement __toString() method.
398 398
     }
399 399
 
400
+    /**
401
+     * @param string $uri
402
+     */
400 403
     private function explodeUri($uri)
401 404
     {
402 405
         echo $uri . "\n";
Please login to merge, or discard this patch.