|
@@ -331,7 +331,7 @@ discard block |
|
|
block discarded – undo |
|
331
|
331
|
$accept_ext = isset($matches['accept_ext']) ? $matches['accept_ext'] : ''; |
|
332
|
332
|
$accept_extensions_tmp = explode(';', trim($accept_ext, ' \n\r\t\v\0;')); |
|
333
|
333
|
$accept_extensions = []; |
|
334
|
|
- foreach($accept_extensions_tmp as $accept_extension) { |
|
|
334
|
+ foreach ($accept_extensions_tmp as $accept_extension) { |
|
335
|
335
|
$parts = explode('=', $accept_extension); |
|
336
|
336
|
$accept_extensions[$parts[0]] = $accept_extension; |
|
337
|
337
|
} |
|
@@ -921,7 +921,7 @@ discard block |
|
|
block discarded – undo |
|
921
|
921
|
$stringValue = ($primitiveValue === true) ? 'true' : 'false'; |
|
922
|
922
|
} else if ($type instanceof Binary) { |
|
923
|
923
|
if (is_resource($primitiveValue)) { |
|
924
|
|
- $stringValue = 'data:'.mime_content_type($primitiveValue).';base64,'.base64_encode(stream_get_contents($primitiveValue)); |
|
|
924
|
+ $stringValue = 'data:' . mime_content_type($primitiveValue) . ';base64,' . base64_encode(stream_get_contents($primitiveValue)); |
|
925
|
925
|
} else { |
|
926
|
926
|
$stringValue = base64_encode($primitiveValue); |
|
927
|
927
|
} |
Please login to merge, or discard this patch.