Completed
Pull Request — master (#17)
by
unknown
02:36
created
src/CssEmbed/CssEmbed.php 1 patch
Doc Comments   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     protected $http_flags = 0;
44 44
 
45 45
     /**
46
-     * @param $root_dir
46
+     * @param string $root_dir
47 47
      */
48 48
     public function setRootDir($root_dir)
49 49
     {
@@ -89,7 +89,6 @@  discard block
 block discarded – undo
89 89
      * off. You will need to use setOptions() after this method to change that.
90 90
      *
91 91
      * @param bool $enable
92
-     * @param int $http_flags flags that modify HTTP behaviour
93 92
      * @return void
94 93
      */
95 94
     public function enableHttp($enable = true, $flags = 0)
@@ -136,7 +135,7 @@  discard block
 block discarded – undo
136 135
     }
137 136
 
138 137
     /**
139
-     * @param $css_file
138
+     * @param string $css_file
140 139
      * @return null|string
141 140
      * @throws \InvalidArgumentException
142 141
      */
@@ -345,7 +344,7 @@  discard block
 block discarded – undo
345 344
      * Resolve the absolute path to a local asset
346 345
      *
347 346
      * @param string $path the path to the asset, relative to root_dir
348
-     * @return string|boolean the absolute path, or false if not found
347
+     * @return false|string the absolute path, or false if not found
349 348
      */
350 349
     protected function resolveAssetPath($path)
351 350
     {
@@ -358,8 +357,8 @@  discard block
 block discarded – undo
358 357
     /**
359 358
      * Resolve the URL to an http asset
360 359
      *
361
-     * @param string $root_url the root URL
362 360
      * @param string
361
+     * @param string $path
363 362
      */
364 363
     protected function resolveAssetUrl($path)
365 364
     {
@@ -461,9 +460,6 @@  discard block
 block discarded – undo
461 460
     /**
462 461
      * Throw an exception if URL_ON_ERROR is not set
463 462
      *
464
-     * @param string $message OPTIONAL the message
465
-     * @param string $interpolations,... unlimited OPTIONAL strings to
466
-     * interpolate in the error message
467 463
      * @throws \InvalidArgmumentException
468 464
      * @return void
469 465
      */
Please login to merge, or discard this patch.