mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 07:42:11 +09:00
Add type hints and use class constants where applicable in Rhymix Framework
This commit is contained in:
parent
78f7942e40
commit
b6e8d41be8
11 changed files with 138 additions and 128 deletions
|
|
@ -14,7 +14,7 @@ abstract class BaseParser
|
|||
* @param bool $normalize
|
||||
* @return array
|
||||
*/
|
||||
protected static function _getAttributes(\SimpleXMLElement $element, $normalize = true): array
|
||||
protected static function _getAttributes(\SimpleXMLElement $element, bool $normalize = true): array
|
||||
{
|
||||
$result = array();
|
||||
foreach ($element->attributes() as $key => $val)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue