summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxGrz <grzesiek.byskiniewicz@gmail.com>2025-10-13 10:05:37 +0200
committerxGrz <grzesiek.byskiniewicz@gmail.com>2025-10-13 10:05:37 +0200
commit89360dad9bc1b315d73f383bb5a2d6ee3fc2a7ed (patch)
treeec393c25cbc0e101e2fe05971f8d0105766c1d9d
parentb4cabe6ab7817097cf811d69dbf25ed3cd0a40a9 (diff)
downloadilluminate-firebird-89360dad9bc1b315d73f383bb5a2d6ee3fc2a7ed.tar.gz
illuminate-firebird-89360dad9bc1b315d73f383bb5a2d6ee3fc2a7ed.tar.bz2
illuminate-firebird-89360dad9bc1b315d73f383bb5a2d6ee3fc2a7ed.zip
[fix] Warning message for null values.
-rw-r--r--.idea/firebird-support.iml39
-rw-r--r--.idea/modules.xml2
-rwxr-xr-xsrc/Query/Builder.php2
-rwxr-xr-xsrc/Query/Grammars/FirebirdGrammar.php2
4 files changed, 3 insertions, 42 deletions
diff --git a/.idea/firebird-support.iml b/.idea/firebird-support.iml
deleted file mode 100644
index fd4ed1c..0000000
--- a/.idea/firebird-support.iml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="WEB_MODULE" version="4">
- <component name="NewModuleRootManager">
- <content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="Xgrz\Firebird\" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/_laravel_idea" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/brick/math" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/carbonphp/carbon-doctrine-types" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/composer" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/inflector" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/illuminate/bus" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/illuminate/collections" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/illuminate/conditionable" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/illuminate/container" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/illuminate/contracts" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/illuminate/database" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/illuminate/events" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/illuminate/macroable" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/illuminate/pipeline" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/illuminate/support" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/laravel/serializable-closure" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/nesbot/carbon" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/psr/clock" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/psr/container" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/psr/simple-cache" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/clock" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/deprecation-contracts" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-mbstring" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php83" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php84" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php85" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation-contracts" />
- <excludeFolder url="file://$MODULE_DIR$/vendor/voku/portable-ascii" />
- </content>
- <orderEntry type="inheritedJdk" />
- <orderEntry type="sourceFolder" forTests="false" />
- </component>
-</module> \ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index c997744..1f9d89c 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,7 +2,7 @@
<project version="4">
<component name="ProjectModuleManager">
<modules>
- <module fileurl="file://$PROJECT_DIR$/.idea/firebird-support.iml" filepath="$PROJECT_DIR$/.idea/firebird-support.iml" />
+ <module fileurl="file://$PROJECT_DIR$/.idea/xgrz/firebird-support.iml" filepath="$PROJECT_DIR$/.idea/xgrz/firebird-support.iml" />
</modules>
</component>
</project> \ No newline at end of file
diff --git a/src/Query/Builder.php b/src/Query/Builder.php
index c91c6bd..cda4f1f 100755
--- a/src/Query/Builder.php
+++ b/src/Query/Builder.php
@@ -42,7 +42,7 @@ class Builder extends QueryBuilder
{
// detect is not search
if (! str($operator)->contains('like', true)) {
- return parent::where($column, $operator, $value, $boolean); // TODO: Change the autogenerated stub
+ return parent::where($column, $operator, $value, $boolean);
}
// when is search covert to upper case column and value at database level
diff --git a/src/Query/Grammars/FirebirdGrammar.php b/src/Query/Grammars/FirebirdGrammar.php
index c8b5535..2ee0d26 100755
--- a/src/Query/Grammars/FirebirdGrammar.php
+++ b/src/Query/Grammars/FirebirdGrammar.php
@@ -146,7 +146,7 @@ class FirebirdGrammar extends Grammar
* @param array $values
* @return string
*/
- public function compileProcedure(Builder $query, $procedure, array $values = null)
+ public function compileProcedure(Builder $query, $procedure, ?array $values = null)
{
$procedure = $this->wrap($procedure);