mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-23 19:39:10 -04:00
ALPHA 3.0.2a
This commit is contained in:
@@ -122,7 +122,7 @@ class ReflectionLanguageConstruct extends \ReflectionFunctionAbstract
|
||||
{
|
||||
$params = [];
|
||||
foreach (self::$languageConstructs[$this->keyword] as $parameter => $opts) {
|
||||
array_push($params, new ReflectionLanguageConstructParameter($this->keyword, $parameter, $opts));
|
||||
\array_push($params, new ReflectionLanguageConstructParameter($this->keyword, $parameter, $opts));
|
||||
}
|
||||
|
||||
return $params;
|
||||
@@ -159,6 +159,6 @@ class ReflectionLanguageConstruct extends \ReflectionFunctionAbstract
|
||||
*/
|
||||
public static function isLanguageConstruct($keyword)
|
||||
{
|
||||
return array_key_exists($keyword, self::$languageConstructs);
|
||||
return \array_key_exists($keyword, self::$languageConstructs);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user