Skip to content

Commit

Permalink
support version 7.4 of php
Browse files Browse the repository at this point in the history
  • Loading branch information
dietercoopman committed Oct 4, 2021
1 parent e1af1c4 commit f0eb1fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "^8.0",
"php": "^7.4|^8.0",
"spatie/laravel-package-tools": "^1.4.3",
"illuminate/contracts": "^8.37"
},
Expand Down
4 changes: 2 additions & 2 deletions src/ShowSql.php
Expand Up @@ -9,12 +9,12 @@
class ShowSql
{
private string $sql;
private QueryBuilder|EloquentBuilder $builder;
private $builder;

/**
* Combine the query and the bindings into a rendered
* sql statement that can be passed to any chosen output
* @param $builder QueryBuilder|EloquentBuilder
* @param mixed $builder
* @param null $callback
*/
public function __construct($builder, $callback = null)
Expand Down

0 comments on commit f0eb1fe

Please sign in to comment.