mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-10 09:59:08 -04:00
Match model function signatures to parent
- update method
This commit is contained in:
committed by
Steve Ireland
parent
b5c36f9c4d
commit
f0acd506bb
@@ -63,7 +63,7 @@ class Receiving extends Model
|
||||
return ($builder->get()->getNumRows() == 1);
|
||||
}
|
||||
|
||||
public function update(int $receiving_id = NULL, array $receiving_data = NULL): bool
|
||||
public function update($receiving_id = NULL, $receiving_data = NULL): bool
|
||||
{
|
||||
$builder = $this->db->table('receivings');
|
||||
$builder->where('receiving_id', $receiving_id);
|
||||
@@ -331,4 +331,4 @@ class Receiving extends Model
|
||||
|
||||
$this->db->query($sql);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user