diff --git a/app/Models/Receiving.php b/app/Models/Receiving.php index 1bb7917f9..ec45dfa9c 100644 --- a/app/Models/Receiving.php +++ b/app/Models/Receiving.php @@ -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); } -} \ No newline at end of file +}