We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b12fae commit fe97ca6Copy full SHA for fe97ca6
src/Utilities/Helper.php
@@ -198,7 +198,7 @@ public static function convertToArray($row, $filters = [])
198
{
199
if (Arr::get($filters, 'ignore_getters') && is_object($row) && method_exists($row, 'getAttributes')) {
200
$data = $row->getAttributes();
201
- if(method_exists($row, 'getRelations')) {
+ if (method_exists($row, 'getRelations')) {
202
foreach ($row->getRelations() as $relationName => $relation) {
203
if (is_iterable($relation)) {
204
foreach ($relation as $relationItem) {
0 commit comments