Skip to content

Commit e54627b

Browse files
committed
fixed php 5.3/4 support
1 parent 7899f46 commit e54627b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Translation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function getPluralTranslation($key = null)
171171
*/
172172
public function hasPluralTranslation()
173173
{
174-
return !empty(implode('', $this->pluralTranslation));
174+
return implode('', $this->pluralTranslation) !== '';
175175
}
176176

177177
/**

0 commit comments

Comments
 (0)