@@ -112,11 +112,11 @@ |
||
112 | 112 | |
113 | 113 | // load the ZIP artefacts from the archive directory |
114 | 114 | foreach (glob(sprintf('%s/*.zip', $archiveDir)) as $possibleArtefact) { |
115 | - $availableSerials[ basename($possibleArtefact, '.zip')] = filemtime($possibleArtefact); |
|
115 | + $availableSerials[basename($possibleArtefact, '.zip')] = filemtime($possibleArtefact); |
|
116 | 116 | } |
117 | 117 | |
118 | 118 | // sort the available serials by modification time |
119 | - uasort($availableSerials, function ($a, $b) { |
|
119 | + uasort($availableSerials, function($a, $b) { |
|
120 | 120 | // return zero, if the passed values are equal |
121 | 121 | if ($a == $b) { |
122 | 122 | return 0; |
@@ -129,7 +129,7 @@ |
||
129 | 129 | // if at least one recipient has been accepted |
130 | 130 | if ($recipientsAccepted > 0) { |
131 | 131 | // cast 'to' into an array if not already |
132 | - is_array($recipient) ?: $recipient = (array)$recipient; |
|
132 | + is_array($recipient) ?: $recipient = (array) $recipient; |
|
133 | 133 | |
134 | 134 | // remove the NOT accepted recipients |
135 | 135 | $acceptedRecipients = array_diff($recipient, $failedRecipients); |