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.
1 parent 875fd82 commit 9900690Copy full SHA for 9900690
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