Skip to content

Commit

Permalink
fix: access modifier scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Jun 3, 2024
1 parent 16e4b1f commit d9377e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Abstracts/Transformers/Transformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

abstract class Transformer extends FractalTransformer
{
public function nullableItem($data, $transformer, $resourceKey = null): Primitive|Item
protected function nullableItem($data, $transformer, $resourceKey = null): Primitive|Item
{
if (is_null($data)) {
return $this->primitive(null);
Expand Down

0 comments on commit d9377e9

Please sign in to comment.