Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Fix "PHP Fatal error: Uncaught TypeError: property_exists(): Argument…
Browse files Browse the repository at this point in the history
… #2 ($property) must be of type string, stdClass given".
  • Loading branch information
rvdsteege committed Dec 29, 2022
1 parent 778fa74 commit 40c4164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VersionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ private function run_composer_script( $script, $cwd, $output ) {
return;
}

if ( ! \property_exists( $script, $data->scripts ) ) {
if ( ! \property_exists( $data->scripts, $script ) ) {
return;
}

Expand Down

0 comments on commit 40c4164

Please sign in to comment.