From 2053c04da5336a8c8aa4cacf84b53121928326ff Mon Sep 17 00:00:00 2001 From: Matthias Mullie Date: Wed, 17 Feb 2016 09:59:34 +0100 Subject: [PATCH] Spaces after // --- src/CSS.php | 4 ++-- src/Minify.php | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/CSS.php b/src/CSS.php index d082c26..988bbba 100644 --- a/src/CSS.php +++ b/src/CSS.php @@ -298,7 +298,7 @@ class CSS extends Minify // loop css data (raw data and files) foreach ($this->data as $source => $css) { - //put current source into import chain if it is a valid file + // put current source into import chain if it is a valid file if ($this->canImportFile($source)) { array_push(self::$importChain, $source); } @@ -338,7 +338,7 @@ class CSS extends Minify // combine css $content .= $css; - //remove current file from chain + // remove current file from chain array_pop(self::$importChain); } diff --git a/src/Minify.php b/src/Minify.php index 9e27de3..30d6fbc 100644 --- a/src/Minify.php +++ b/src/Minify.php @@ -319,8 +319,7 @@ abstract class Minify // PHP only supports $this inside anonymous functions since 5.4 $minifier = $this; $callback = function ($match) use ($minifier) { - //check the second index here, because the first always contains a quote - //that's why inner block could never be reached + // check the second index here, because the first always contains a quote if (!$match[2]) { /* * Empty strings need no placeholder; they can't be confused for