Skip to content

Commit

Permalink
Add string cast
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug authored Feb 15, 2020
1 parent 59dbe2f commit 496c08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/TestCaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static function afterStatementAnalysis(
foreach ($class_storage->declaring_method_ids as $method_name_lc => $declaring_method_id) {
$method_name = $codebase->getCasedMethodId($class_storage->name . '::' . $method_name_lc);
$method_storage = $codebase->methods->getStorage($declaring_method_id);
list($declaring_method_class, $declaring_method_name) = explode('::', $declaring_method_id);
list($declaring_method_class, $declaring_method_name) = explode('::', (string) $declaring_method_id);
$declaring_class_storage = $codebase->classlike_storage_provider->get($declaring_method_class);

$declaring_class_node = $class_node;
Expand Down

0 comments on commit 496c08f

Please sign in to comment.