Skip to content

Commit

Permalink
Run Linter, Address PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
PineappleIOnic committed Aug 30, 2024
1 parent fcf1057 commit 4ecdda9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Database/Adapter/Postgres.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public function updateAttribute(string $collection, string $id, string $type, in
->execute();

return $result;
} catch (Exception $e) {
} catch (PDOException $e) {
$this->processException($e);
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -1761,7 +1761,7 @@ public function updateAttribute(string $collection, string $id, string $type = n
->setAttribute('$id', $newKey ?? $id)
->setattribute('key', $newKey ?? $id)
->setAttribute('type', $type)
->setAttribute('size', $size)
->setAttribute('size', $size)
->setAttribute('signed', $signed)
->setAttribute('array', $array)
->setAttribute('format', $format)
Expand Down

0 comments on commit 4ecdda9

Please sign in to comment.