@@ -50,12 +50,12 @@ discard block |
||
50 | 50 | "Encountered illegal sso registration bypass option %s '%s', expected a |
51 | 51 | SsoRegistrationBypassOption instance", |
52 | 52 | get_debug_type($value), |
53 | - is_scalar($value) ? (string)$value : '', |
|
53 | + is_scalar($value) ? (string) $value : '', |
|
54 | 54 | ), |
55 | 55 | ); |
56 | 56 | } |
57 | 57 | |
58 | - return (int)$value->isEnabled(); |
|
58 | + return (int) $value->isEnabled(); |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | public function convertToPHPValue($value, AbstractPlatform $platform): ?SsoRegistrationBypassOption |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | try { |
68 | - $ssoRegistrationBypassOption = new SsoRegistrationBypassOption((bool)$value); |
|
68 | + $ssoRegistrationBypassOption = new SsoRegistrationBypassOption((bool) $value); |
|
69 | 69 | } catch (TypeError $e) { |
70 | 70 | // get nice standard message, so we can throw it keeping the exception chain |
71 | 71 | $doctrineExceptionMessage = ConversionException::conversionFailed( |