@@ -38,11 +38,11 @@ discard block |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | |
| 41 | - public function hasPresave($libraryName, $developmentPath = null){ |
|
| 41 | + public function hasPresave($libraryName, $developmentPath = null) { |
|
| 42 | 42 | |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - public function getUpgradeScript($machineName, $majorVersion, $minorVersion){} |
|
| 45 | + public function getUpgradeScript($machineName, $majorVersion, $minorVersion) {} |
|
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | 48 | * Store the library folder. |
@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | } else { |
| 236 | 236 | // Rewrite relative URLs used inside stylesheets |
| 237 | 237 | $content .= preg_replace_callback( |
| 238 | - '/url\([\'"]?([^"\')]+)[\'"]?\)/i', function ($matches) use ($cssRelPath) { |
|
| 238 | + '/url\([\'"]?([^"\')]+)[\'"]?\)/i', function($matches) use ($cssRelPath) { |
|
| 239 | 239 | if (preg_match("/^(data:|([a-z0-9]+:)?\/)/i", $matches[1]) === 1) { |
| 240 | 240 | return $matches[0]; // Not relative, skip |
| 241 | 241 | } |
@@ -587,7 +587,7 @@ discard block |
||
| 587 | 587 | * @param resource $stream |
| 588 | 588 | * @return bool |
| 589 | 589 | */ |
| 590 | - public function saveFileFromZip($path, $file, $stream){ |
|
| 590 | + public function saveFileFromZip($path, $file, $stream) { |
|
| 591 | 591 | return true; |
| 592 | 592 | } |
| 593 | 593 | } |