Skip to content

Commit

Permalink
Fixing E_STRICT errors: Only variables should be passed as reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
renan committed Oct 8, 2013
1 parent 19341a1 commit 9069e2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion System/Daemon/OS.php
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,8 @@ protected static function _mostSpecific($classes)
$classes
);
arsort($weights);
$fattest = reset(array_keys($weights));
$weights = array_keys($weights);
$fattest = reset($weights);
return $fattest;
}

Expand Down

0 comments on commit 9069e2f

Please sign in to comment.