Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX Check for the correct type for $data['namespace']

  • Loading branch information...
commit da2ac792054fb274484eb0e6e6c5c2910614962c 1 parent 97f8cc4
@simonwelsh simonwelsh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/manifest/ClassManifest.php
View
2  core/manifest/ClassManifest.php
@@ -319,7 +319,7 @@ public function handleFile($basename, $pathname, $depth) {
if ($data = $this->cache->load($key)) {
$valid = (
isset($data['classes']) && isset($data['interfaces']) && isset($data['namespace'])
- && is_array($data['classes']) && is_array($data['interfaces']) && is_array($data['namespace'])
+ && is_array($data['classes']) && is_array($data['interfaces']) && is_string($data['namespace'])
);
if ($valid) {
Please sign in to comment.
Something went wrong with that request. Please try again.