Skip to content

Commit

Permalink
implement the interface ArrayableInterface for BaseActiveRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
niqingyang committed Dec 9, 2023
1 parent 08711a6 commit cb9db0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Stubs/ActiveRecord/CustomerForArrayable.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ public function fields(): array
return $fields;
}

public function setItem(CustomerForArrayable $item) {
public function setItem(self $item) {
$this->item = $item;
}

public function setItems(CustomerForArrayable ...$items)
public function setItems(self ...$items)
{
$this->items = $items;
}
Expand Down

0 comments on commit cb9db0e

Please sign in to comment.