Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/JShrink/Minifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class Minifier
* @param string $js The raw javascript to be minified
* @param array $options Various runtime options in an associative array
* @throws \Exception
* @return bool|string
* @return string
*/
public static function minify($js, $options = [])
{
Expand Down Expand Up @@ -679,7 +679,7 @@ protected function endsInKeyword() {
* Replace patterns in the given string and store the replacement
*
* @param string $js The string to lock
* @return bool
* @return string
*/
protected function lock($js)
{
Expand All @@ -704,7 +704,7 @@ protected function lock($js)
* Replace "locks" with the original characters
*
* @param string $js The string to unlock
* @return bool
* @return string
*/
protected function unlock($js)
{
Expand Down