Skip to content

Commit 64fff63

Browse files
committed
Bugfix inconsistent verify property name
1 parent eadcfe6 commit 64fff63

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

system/Images/Handlers/BaseHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function withFile(string $path)
165165
// Clear out the old resource so that
166166
// it doesn't try to use a previous image
167167
$this->resource = null;
168-
$this->checked = false;
168+
$this->verified = false;
169169

170170
$this->image = new Image($path, true);
171171

@@ -222,7 +222,7 @@ public function getFile()
222222
*/
223223
protected function image(): ?Image
224224
{
225-
if ($this->checked)
225+
if ($this->verified)
226226
{
227227
return $this->image;
228228
}
@@ -246,7 +246,7 @@ protected function image(): ?Image
246246
}
247247

248248
// Note that the image has been verified
249-
$this->checked = true;
249+
$this->verified = true;
250250

251251
return $this->image;
252252
}

0 commit comments

Comments
 (0)