Completed
Push — master ( 6dec95...e32915 )
by Joao Gilberto
03:32
created
src/Store/MongoDbDriver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 
100 100
     /**
101 101
      * @param $idDocument
102
-     * @param null $collection
102
+     * @param string $collection
103 103
      * @return \ByJG\AnyDataset\NoSqlDocument|null
104 104
      * @throws \MongoDB\Driver\Exception\Exception
105 105
      * @throws \ByJG\Serializer\Exception\InvalidArgumentException
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
     /**
121 121
      * @param \ByJG\AnyDataset\Dataset\IteratorFilter $filter
122
-     * @param null $collection
122
+     * @param null|string $collection
123 123
      * @return \ByJG\AnyDataset\NoSqlDocument[]|null
124 124
      * @throws \MongoDB\Driver\Exception\Exception
125 125
      * @throws \ByJG\Serializer\Exception\InvalidArgumentException
Please login to merge, or discard this patch.
src/Dataset/FixedTextFileDataset.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
         if (!preg_match("~^https?://~", $source)) {
39 39
             if (!file_exists($this->source)) {
40
-                throw new NotFoundException("The specified file " . $this->source . " does not exists");
40
+                throw new NotFoundException("The specified file ".$this->source." does not exists");
41 41
             }
42 42
 
43 43
             $this->sourceType = "FILE";
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
             throw new DatasetException("TextFileDataset Socket error: $errstr ($errno)");
80 80
         }
81 81
 
82
-        $out = "GET " . $urlParts[4] . " HTTP/1.1\r\n";
83
-        $out .= "Host: " . $urlParts[2] . "\r\n";
82
+        $out = "GET ".$urlParts[4]." HTTP/1.1\r\n";
83
+        $out .= "Host: ".$urlParts[2]."\r\n";
84 84
         $out .= "Connection: Close\r\n\r\n";
85 85
 
86 86
         try {
Please login to merge, or discard this patch.