From e2c52b26e7ad928914affde1599e2c3438d80126 Mon Sep 17 00:00:00 2001 From: Andre Wyrwa Date: Fri, 8 May 2015 15:48:37 +1000 Subject: [PATCH] fixes --- src/Mapper/LastnameMapper.php | 2 +- src/Parser.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Mapper/LastnameMapper.php b/src/Mapper/LastnameMapper.php index a853737..2a99fad 100644 --- a/src/Mapper/LastnameMapper.php +++ b/src/Mapper/LastnameMapper.php @@ -6,7 +6,7 @@ use TheIconic\NameParser\Part\Lastname; use TheIconic\NameParser\Part\Suffix; -class FirstnameMapper +class LastnameMapper { protected $prefixes = [ diff --git a/src/Parser.php b/src/Parser.php index eaaad09..d0f1fde 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -3,6 +3,11 @@ namespace TheIconic\NameParser; use TheIconic\NameParser\Part\AbstractPart; +use TheIconic\NameParser\Mapper\SalutationMapper; +use TheIconic\NameParser\Mapper\SuffixMapper; +use TheIconic\NameParser\Mapper\InitialMapper; +use TheIconic\NameParser\Mapper\LastnameMapper; +use TheIconic\NameParser\Mapper\FirstnameMapper; class Parser {