Skip to content

Commit bf07026

Browse files
committed
Make PEAR_Common::betterStates() static
1 parent 2af2980 commit bf07026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PEAR/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function setFrontendObject(&$ui)
304304
* @param boolean Determines whether to include $state in the list
305305
* @return false|array False if $state is not a valid release state
306306
*/
307-
function betterStates($state, $include = false)
307+
static function betterStates($state, $include = false)
308308
{
309309
static $states = array('snapshot', 'devel', 'alpha', 'beta', 'stable');
310310
$i = array_search($state, $states);

0 commit comments

Comments
 (0)