Skip to content

Commit

Permalink
Fix PHP5.3 compatibility
Browse files Browse the repository at this point in the history
Yet another ugly workaround...
Fixes #208
  • Loading branch information
matthiasmullie committed Oct 25, 2017
1 parent 5d07979 commit 21084eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/JS.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,13 @@ class JS extends Minify
protected $operatorsAfter = array();

/**
* Public property so it can be accessed from inside the closure in
* extractRegex. Once PHP5.3 compatibility is dropped, we can make this
* property protected again.
*
* @var array
*/
protected $nestedExtracted = array();
public $nestedExtracted = array();

/**
* {@inheritdoc}
Expand Down

0 comments on commit 21084eb

Please sign in to comment.