Completed
Pull Request — master (#17)
by
unknown
02:42
created
src/CssEmbed/CssEmbed.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     protected $http_flags = 0;
34 34
 
35 35
     /**
36
-     * @param $root_dir
36
+     * @param string $root_dir
37 37
      */
38 38
     public function setRootDir($root_dir)
39 39
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @param $css_file
105
+     * @param string $css_file
106 106
      * @return null|string
107 107
      * @throws \InvalidArgumentException
108 108
      */
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     }
124 124
 
125 125
     /**
126
-     * @param $content
126
+     * @param string $content
127 127
      * @return mixed
128 128
      */
129 129
     public function embedString($content)
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-     * @param $file
152
+     * @param string $file
153 153
      * @return string
154 154
      */
155 155
     protected function embedFile($file)
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      * Get the contents of a URL and return it as a data uri within url()
215 215
      *
216 216
      * @param string $url the URL to the file to embed
217
-     * @return string|bool the string for the CSS url property, or FALSE if the
217
+     * @return false|string the string for the CSS url property, or FALSE if the
218 218
      * url could not/should not be embedded.
219 219
      */
220 220
     protected function embedHttpAsset($url)
@@ -308,6 +308,7 @@  discard block
 block discarded – undo
308 308
      *
309 309
      * @param string $root_url the root URL
310 310
      * @param string
311
+     * @return string
311 312
      */
312 313
     protected function resolveHttpAssetUrl($root_url, $path)
313 314
     {
Please login to merge, or discard this patch.