Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parshikov committed Nov 8, 2013
1 parent 2321e90 commit 2a0dfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Trait/Petrovich.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function middlename($case = Petrovich::CASE_NOMENATIVE) {
*/
public function lastname($case = Petrovich::CASE_NOMENATIVE) {
if ($case === Petrovich::CASE_NOMENATIVE) {
return $this->firstname;
return $this->lastname;
}

if (!isset($this->petrovich))
Expand Down

0 comments on commit 2a0dfab

Please sign in to comment.