@@ -52,7 +52,6 @@ |
||
| 52 | 52 | * @method ObjectInterface setRandomPhoto(ObjectInterface $object, $probability) |
| 53 | 53 | * @method ObjectInterface setRandomUrl(ObjectInterface $object, $probability) |
| 54 | 54 | * |
| 55 | - |
|
| 56 | 55 | */ |
| 57 | 56 | class ContactObjectMutator extends AbstractObjectMutator |
| 58 | 57 | { |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | $this->setGivenName($object); // p-given-name - given (often first) name |
| 81 | 81 | $this->setRandomNickname($object, .3); // p-nickname - nickname/alias/handle |
| 82 | 82 | $this->setRandomAdditionalName($object, .2); // p-additional-name - other/middle name |
| 83 | - $this->setRandomFamilyName($object, .9);// p-family-name - family (often last) name |
|
| 83 | + $this->setRandomFamilyName($object, .9); // p-family-name - family (often last) name |
|
| 84 | 84 | $this->setRandomHonorificSuffix($object, .1); // p-honorific-suffix - e.g. Ph.D, Esq. |
| 85 | 85 | $this->setSortString($object); // p-sort-string - string to sort by |
| 86 | 86 | |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * @param \DateTimeInterface $creationDate Creation date |
| 114 | 114 | * @return ObjectInterface Article |
| 115 | 115 | */ |
| 116 | - protected function createArticle(\DateTimeInterface $creationDate, ObjectMutatorInterface &$objectMutator = null) |
|
| 116 | + protected function createArticle(\DateTimeInterface $creationDate, ObjectMutatorInterface & $objectMutator = null) |
|
| 117 | 117 | { |
| 118 | 118 | /** @var ObjectMutatorInterface $objectMutator */ |
| 119 | 119 | $objectMutator = Kernel::create(ArticleObjectMutator::class); |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * @param \DateTimeInterface $creationDate Creation date |
| 127 | 127 | * @return ObjectInterface Contact |
| 128 | 128 | */ |
| 129 | - protected function createContact(\DateTimeInterface $creationDate, ObjectMutatorInterface &$objectMutator = null) |
|
| 129 | + protected function createContact(\DateTimeInterface $creationDate, ObjectMutatorInterface & $objectMutator = null) |
|
| 130 | 130 | { |
| 131 | 131 | /** @var ObjectMutatorInterface $objectMutator */ |
| 132 | 132 | $objectMutator = Kernel::create(ContactObjectMutator::class); |