Browse Source

Fixing style errors.

stickler-ci 5 years ago
parent
commit
03e0b280e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ORM/Query.php

+ 1 - 1
src/ORM/Query.php

@@ -1116,7 +1116,7 @@ class Query extends DatabaseQuery implements JsonSerializable, QueryInterface
      * @param \Cake\Database\ValueBinder|null $generator Placeholder generator object
      * @return string
      */
-    public function sql(ValueBinder $generator = null)
+    public function sql(?ValueBinder $generator = null)
     {
         $this->triggerBeforeFind();