@@ -116,13 +116,12 @@ protected function metadataName($out)
116116 /**
117117 * Determine whether .scss file needs to be re-compiled.
118118 *
119- * @param string $in Input path
120119 * @param string $out Output path
121120 * @param string $etag ETag
122121 *
123122 * @return boolean True if compile required.
124123 */
125- protected function needsCompile ($ in , $ out , &$ etag )
124+ protected function needsCompile ($ out , &$ etag )
126125 {
127126 if (! is_file ($ out )) {
128127 return true ;
@@ -326,7 +325,7 @@ public function serve($salt = '')
326325 $ output = $ this ->cacheName ($ salt . $ input );
327326 $ etag = $ noneMatch = trim ($ this ->getIfNoneMatchHeader (), '" ' );
328327
329- if ($ this ->needsCompile ($ input , $ output , $ etag )) {
328+ if ($ this ->needsCompile ($ output , $ etag )) {
330329 try {
331330 list ($ css , $ etag ) = $ this ->compile ($ input , $ output );
332331
@@ -408,7 +407,7 @@ public function checkedCachedCompile($in, $out, $force = false)
408407 throw new ServerException ('Invalid or unwritable output file specified. ' );
409408 }
410409
411- if ($ force || $ this ->needsCompile ($ in , $ out , $ etag )) {
410+ if ($ force || $ this ->needsCompile ($ out , $ etag )) {
412411 list ($ css , $ etag ) = $ this ->compile ($ in , $ out );
413412 } else {
414413 $ css = file_get_contents ($ out );
0 commit comments