Skip to content

Commit

Permalink
Prevent a warning in PHP 8.2 (#370)
Browse files Browse the repository at this point in the history
* Prevent a warning in PHP 8.2

* Made a variable public to allow access in tests
  • Loading branch information
mmcev106 committed Mar 9, 2023
1 parent 9206c46 commit f0e4645
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PHPSQLParser/PHPSQLCreator.php
Expand Up @@ -65,6 +65,8 @@
*/
class PHPSQLCreator {

public $created;

public function __construct($parsed = false) {
if ($parsed) {
$this->create($parsed);
Expand Down

0 comments on commit f0e4645

Please sign in to comment.