Function load : give the return type

This commit is contained in:
sparkyx 2023-01-05 11:37:26 +01:00
parent c9a16035ca
commit 073c0efbef
29 changed files with 45 additions and 40 deletions

View file

@ -174,7 +174,7 @@ abstract class Table_Data_SQL extends Data_SQL
/***
* @brief load a row , corresponding to the primary key
*/
public function load()
public function load():bool
{
$sql=$this->build_query();
$pk=$this->primary_key;