Skip to content

Commit

Permalink
PHP 8.1 minimum version readiness
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed Sep 5, 2023
1 parent b6291d6 commit 13c38ff
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/GDAO/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -766,18 +766,16 @@ public abstract function deleteMatchingDbTableRows(array $cols_n_vals): int;

/**
* Delete the specified record from the database.
*
* NOTE: Implementers of this class must set the record object to a new state
* by a call to $record->setStateToNew() after a successful deletion
* via this method. The record data will still be inside the record
*
* NOTE: Implementers of this class must set the record object to a new state
* by a call to $record->setStateToNew() after a successful deletion
* via this method. The record data will still be inside the record
* object.
*
* @param \GDAO\Model\RecordInterface $record
*
* @return bool|null true for a successful deletion, false if deletion failed
* OR null if supplied record is a record that has never
*
*
* @return bool|null true for a successful deletion, false if deletion failed
* OR null if supplied record is a record that has never
* been saved to the db.
*
* @throws \PDOException
*/
public abstract function deleteSpecifiedRecord(\GDAO\Model\RecordInterface $record): ?bool;
Expand Down

0 comments on commit 13c38ff

Please sign in to comment.