We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 076066f + 9900690 commit e88af3fCopy full SHA for e88af3f
src/TgUtils/Utils.php
@@ -126,7 +126,7 @@ public static function isEmpty($s) {
126
* @param array $arr - the array to be tested
127
* @return boolean TRUE - when array is associative, FALSE otherwise
128
*/
129
- public static isAssoc(array $arr) {
+ public static function isAssoc(array $arr) {
130
if (array() === $arr) return FALSE;
131
return array_keys($arr) !== range(0, count($arr)-1);
132
}
0 commit comments