Completed
Pull Request — master (#86)
by Vladimir
38:05 queued 09:07
created
src/allejo/stakx/Server/MimeDetector.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
         'svg' => 'image/svg+xml',
105 105
     ];
106 106
 
107
+    /**
108
+     * @return \allejo\stakx\Document\StaticPageView
109
+     */
107 110
     public static function getMimeType($extension)
108 111
     {
109 112
         return isset(self::$mimes[$extension]) ? self::$mimes[$extension] : null;
Please login to merge, or discard this patch.
src/allejo/stakx/AssetEngine/Sass/SassEngine.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -163,6 +163,9 @@  discard block
 block discarded – undo
163 163
         );
164 164
     }
165 165
 
166
+    /**
167
+     * @param string $content
168
+     */
166 169
     private function handleThemeImports(&$content)
167 170
     {
168 171
         if (($themeName = $this->configuration->getTheme()))
@@ -172,6 +175,9 @@  discard block
 block discarded – undo
172 175
         }
173 176
     }
174 177
 
178
+    /**
179
+     * @return string
180
+     */
175 181
     public static function stringToFormatter($format)
176 182
     {
177 183
         if ($format == 'nested')
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -167,8 +167,8 @@
 block discarded – undo
167 167
     {
168 168
         if (($themeName = $this->configuration->getTheme()))
169 169
         {
170
-            $themePath = "../_themes/${themeName}/_sass";
171
-            $content = preg_replace("/(@import ['\"])(@theme)(.+)/", "$1${themePath}$3", $content);
170
+            $themePath = "../_themes/${themename}/_sass";
171
+            $content = preg_replace("/(@import ['\"])(@theme)(.+)/", "$1${themepath}$3", $content);
172 172
         }
173 173
     }
174 174
 
Please login to merge, or discard this patch.