stricter nulls

This commit is contained in:
Shish
2023-06-27 17:45:35 +01:00
parent eca49bfc94
commit 8fb6fd5f54
18 changed files with 21 additions and 25 deletions

View File

@ -21,7 +21,7 @@ class _SafeImage
public function __construct(Image $img)
{
$_id = $img->id;
assert($_id != null);
assert($_id !== null);
$this->id = $_id;
$this->height = $img->height;
$this->width = $img->width;