Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Oct 5, 2024
1 parent 20e3eb9 commit 1ceb4b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/structured-output-math.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
exit(1);
}

if (empty($_ENV['RUN_EXPENSIVE_EXAMPLES']) || filter_var($_ENV['RUN_EXPENSIVE_EXAMPLES'], FILTER_VALIDATE_BOOLEAN) === false) {
if (empty($_ENV['RUN_EXPENSIVE_EXAMPLES']) || false === filter_var($_ENV['RUN_EXPENSIVE_EXAMPLES'], FILTER_VALIDATE_BOOLEAN)) {
echo 'This example is marked as expensive and will not run unless RUN_EXPENSIVE_EXAMPLES is set to true.'.PHP_EOL;
exit(1);
}
Expand Down

0 comments on commit 1ceb4b3

Please sign in to comment.