Skip to content

Commit a8e823f

Browse files
authored
Merge pull request #242 from nocive/php85-deprecation
Fix php 8.5 deprecations
2 parents 5f24d15 + 7210926 commit a8e823f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ValidatingTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function getValidating()
6262
*/
6363
public function setValidating($value)
6464
{
65-
$this->validating = (boolean) $value;
65+
$this->validating = (bool) $value;
6666
}
6767

6868
/**
@@ -86,7 +86,7 @@ public function getThrowValidationExceptions()
8686
*/
8787
public function setThrowValidationExceptions($value)
8888
{
89-
$this->throwValidationExceptions = (boolean) $value;
89+
$this->throwValidationExceptions = (bool) $value;
9090
}
9191

9292
/**
@@ -110,7 +110,7 @@ public function getInjectUniqueIdentifier()
110110
*/
111111
public function setInjectUniqueIdentifier($value)
112112
{
113-
$this->injectUniqueIdentifier = (boolean) $value;
113+
$this->injectUniqueIdentifier = (bool) $value;
114114
}
115115

116116
/**

0 commit comments

Comments
 (0)