Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Emre Sokullu committed Jan 31, 2018
1 parent 36352a2 commit 407afe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pho/Framework/Loaders/FieldsLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static function pack(ParticleInterface $particle): AbstractLoader
*
* @return array An array where keys are upper-camelized
*/
public static function fetchArray(Particle $particle): array
public static function fetchArray(ParticleInterface $particle): array
{
if(!defined(get_class($particle)."::FIELDS"))
return [];
Expand Down

0 comments on commit 407afe3

Please sign in to comment.