Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
fail-fast: false
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
Expand Down Expand Up @@ -49,7 +50,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Setup MySQL
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/Foundation/AbstractDao.php
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ public function getId($forceArray = false)
* which is a value of any type other than a resource.
*/
#[\ReturnTypeWillChange]
public function jsonSerialize(): mixed
public function jsonSerialize()
{
return Objects::propertyValues($this);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Foundation/DaoCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ public function offsetUnset($offset)
* which is a value of any type other than a resource.
*/
#[\ReturnTypeWillChange]
public function jsonSerialize(): mixed
public function jsonSerialize()
{
$this->_prepareDaos();
if($this->isEmpty())
Expand Down
Loading