Swap argument order for implode

I noticed this squiggly red line while perusing the code.

The PHP doc says
`implode ( string $glue , array $pieces ) : string`
> implode() can, for historical reasons, accept its parameters in either order. For consistency with explode(), however, it may be less confusing to use the documented order of arguments.
This commit is contained in:
aNickzz 2019-05-11 00:32:23 +09:30 committed by GitHub
parent 89a7707c33
commit 28be2b2263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1735,7 +1735,7 @@ class Form extends ViewableData implements HasRequestHandler
*/
public function extraClass()
{
return implode(array_unique($this->extraClasses), ' ');
return implode(' ', array_unique($this->extraClasses));
}
/**