@@ -94,7 +94,7 @@ |
||
| 94 | 94 | $array = $this->sortArrayRecursive($array); |
| 95 | 95 | usort( |
| 96 | 96 | $array, |
| 97 | - function ( |
|
| 97 | + function( |
|
| 98 | 98 | $first, |
| 99 | 99 | $second |
| 100 | 100 | ) { |
@@ -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); |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | 'shared' => true, |
| 107 | 107 | 'substitutions' => [ |
| 108 | 108 | Generator::class => [ |
| 109 | - 'instance' => function () { |
|
| 109 | + 'instance' => function() { |
|
| 110 | 110 | return Factory::create(); |
| 111 | 111 | }, |
| 112 | 112 | ] |