@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | |
| 40 | 40 | $builder->add('address', TextareaType::class, [ |
| 41 | 41 | 'label' => 'company.edit.address', |
| 42 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 42 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 43 | 43 | 'attr' => [ |
| 44 | 44 | 'placeholder' => 'company.edit.address.placeholder', |
| 45 | 45 | ], |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | $builder->add('phone_number', TelType::class, [ |
| 51 | 51 | 'label' => 'company.edit.phone_number', |
| 52 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 52 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 53 | 53 | 'attr' => [ |
| 54 | 54 | 'placeholder' => 'company.edit.phone_number.placeholder', |
| 55 | 55 | ], |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | $builder->add('fax_number', TelType::class, [ |
| 61 | 61 | 'label' => 'company.edit.fax_number', |
| 62 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 62 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 63 | 63 | 'attr' => [ |
| 64 | 64 | 'placeholder' => 'company.fax_number.placeholder', |
| 65 | 65 | ], |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | |
| 70 | 70 | $builder->add('email_address', EmailType::class, [ |
| 71 | 71 | 'label' => 'company.edit.email', |
| 72 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 72 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 73 | 73 | 'attr' => [ |
| 74 | 74 | 'placeholder' => 'company.edit.email.placeholder', |
| 75 | 75 | ], |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | |
| 80 | 80 | $builder->add('website', UrlType::class, [ |
| 81 | 81 | 'label' => 'company.edit.website', |
| 82 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 82 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 83 | 83 | 'attr' => [ |
| 84 | 84 | 'placeholder' => 'company.edit.website.placeholder', |
| 85 | 85 | ], |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | $builder->add('auto_product_url', UrlType::class, [ |
| 91 | 91 | 'label' => 'company.edit.auto_product_url', |
| 92 | 92 | 'help' => 'company.edit.auto_product_url.help', |
| 93 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 93 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 94 | 94 | 'attr' => [ |
| 95 | 95 | 'placeholder' => 'company.edit.auto_product_url.placeholder', |
| 96 | 96 | ], |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | 'class' => 'selectpicker', |
| 44 | 44 | 'data-live-search' => true, |
| 45 | 45 | ], |
| 46 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 46 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 47 | 47 | ]); |
| 48 | 48 | |
| 49 | 49 | $builder->add('exchange_rate', MoneyType::class, [ |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | 'label' => 'currency.edit.exchange_rate', |
| 52 | 52 | 'currency' => $this->params->get('default_currency'), |
| 53 | 53 | 'scale' => 6, |
| 54 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 54 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 55 | 55 | ]); |
| 56 | 56 | } |
| 57 | 57 | } |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | //Disable import if user is not allowed to create elements. |
| 49 | 49 | $entity = new $data['entity_class'](); |
| 50 | 50 | $perm_name = 'create'; |
| 51 | - $disabled = ! $this->security->isGranted($perm_name, $entity); |
|
| 51 | + $disabled = !$this->security->isGranted($perm_name, $entity); |
|
| 52 | 52 | |
| 53 | 53 | $builder |
| 54 | 54 | ->add('lines', TextareaType::class, [ |
@@ -42,13 +42,13 @@ |
||
| 42 | 42 | 'label_attr' => [ |
| 43 | 43 | 'class' => 'checkbox-custom', |
| 44 | 44 | ], |
| 45 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 45 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
| 46 | 46 | ]); |
| 47 | 47 | |
| 48 | 48 | $builder->add('permissions', PermissionsType::class, [ |
| 49 | 49 | 'mapped' => false, |
| 50 | 50 | 'data' => $builder->getData(), |
| 51 | - 'disabled' => ! $this->security->isGranted('edit_permissions', $entity), |
|
| 51 | + 'disabled' => !$this->security->isGranted('edit_permissions', $entity), |
|
| 52 | 52 | ]); |
| 53 | 53 | } |
| 54 | 54 | } |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | 'attr' => [ |
| 85 | 85 | 'placeholder' => 'part.edit.name.placeholder', |
| 86 | 86 | ], |
| 87 | - 'disabled' => ! $this->security->isGranted('name.edit', $part), |
|
| 87 | + 'disabled' => !$this->security->isGranted('name.edit', $part), |
|
| 88 | 88 | ]) |
| 89 | 89 | ->add('description', CKEditorType::class, [ |
| 90 | 90 | 'required' => false, |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | 'placeholder' => 'part.edit.description.placeholder', |
| 96 | 96 | 'rows' => 2, |
| 97 | 97 | ], |
| 98 | - 'disabled' => ! $this->security->isGranted('description.edit', $part), |
|
| 98 | + 'disabled' => !$this->security->isGranted('description.edit', $part), |
|
| 99 | 99 | ]) |
| 100 | 100 | ->add('minAmount', SIUnitType::class, [ |
| 101 | 101 | 'attr' => [ |
@@ -104,20 +104,20 @@ discard block |
||
| 104 | 104 | ], |
| 105 | 105 | 'label' => 'part.edit.mininstock', |
| 106 | 106 | 'measurement_unit' => $part->getPartUnit(), |
| 107 | - 'disabled' => ! $this->security->isGranted('minamount.edit', $part), |
|
| 107 | + 'disabled' => !$this->security->isGranted('minamount.edit', $part), |
|
| 108 | 108 | ]) |
| 109 | 109 | ->add('category', StructuralEntityType::class, [ |
| 110 | 110 | 'class' => Category::class, |
| 111 | 111 | 'label' => 'part.edit.category', |
| 112 | 112 | 'disable_not_selectable' => true, |
| 113 | - 'disabled' => ! $this->security->isGranted('category.edit', $part), |
|
| 113 | + 'disabled' => !$this->security->isGranted('category.edit', $part), |
|
| 114 | 114 | ]) |
| 115 | 115 | ->add('footprint', StructuralEntityType::class, [ |
| 116 | 116 | 'class' => Footprint::class, |
| 117 | 117 | 'required' => false, |
| 118 | 118 | 'label' => 'part.edit.footprint', |
| 119 | 119 | 'disable_not_selectable' => true, |
| 120 | - 'disabled' => ! $this->security->isGranted('footprint.edit', $part), |
|
| 120 | + 'disabled' => !$this->security->isGranted('footprint.edit', $part), |
|
| 121 | 121 | ]) |
| 122 | 122 | ->add('tags', TextType::class, [ |
| 123 | 123 | 'required' => false, |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | 'class' => 'tagsinput', |
| 128 | 128 | 'data-autocomplete' => $this->urlGenerator->generate('typeahead_tags', ['query' => 'QUERY']), |
| 129 | 129 | ], |
| 130 | - 'disabled' => ! $this->security->isGranted('tags.edit', $part), |
|
| 130 | + 'disabled' => !$this->security->isGranted('tags.edit', $part), |
|
| 131 | 131 | ]); |
| 132 | 132 | |
| 133 | 133 | //Manufacturer section |
@@ -136,25 +136,25 @@ discard block |
||
| 136 | 136 | 'required' => false, |
| 137 | 137 | 'label' => 'part.edit.manufacturer.label', |
| 138 | 138 | 'disable_not_selectable' => true, |
| 139 | - 'disabled' => ! $this->security->isGranted('manufacturer.edit', $part), |
|
| 139 | + 'disabled' => !$this->security->isGranted('manufacturer.edit', $part), |
|
| 140 | 140 | ]) |
| 141 | 141 | ->add('manufacturer_product_url', UrlType::class, [ |
| 142 | 142 | 'required' => false, |
| 143 | 143 | 'empty_data' => '', |
| 144 | 144 | 'label' => 'part.edit.manufacturer_url.label', |
| 145 | - 'disabled' => ! $this->security->isGranted('mpn.edit', $part), |
|
| 145 | + 'disabled' => !$this->security->isGranted('mpn.edit', $part), |
|
| 146 | 146 | ]) |
| 147 | 147 | ->add('manufacturer_product_number', TextType::class, [ |
| 148 | 148 | 'required' => false, |
| 149 | 149 | 'empty_data' => '', |
| 150 | 150 | 'label' => 'part.edit.mpn', |
| 151 | - 'disabled' => ! $this->security->isGranted('mpn.edit', $part), |
|
| 151 | + 'disabled' => !$this->security->isGranted('mpn.edit', $part), |
|
| 152 | 152 | ]) |
| 153 | 153 | ->add('manufacturing_status', ChoiceType::class, [ |
| 154 | 154 | 'label' => 'part.edit.manufacturing_status', |
| 155 | 155 | 'choices' => $status_choices, |
| 156 | 156 | 'required' => false, |
| 157 | - 'disabled' => ! $this->security->isGranted('status.edit', $part), |
|
| 157 | + 'disabled' => !$this->security->isGranted('status.edit', $part), |
|
| 158 | 158 | ]); |
| 159 | 159 | |
| 160 | 160 | //Advanced section |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | ], |
| 165 | 165 | 'required' => false, |
| 166 | 166 | 'label' => 'part.edit.needs_review', |
| 167 | - 'disabled' => ! $this->security->isGranted('edit', $part), |
|
| 167 | + 'disabled' => !$this->security->isGranted('edit', $part), |
|
| 168 | 168 | ]) |
| 169 | 169 | ->add('favorite', CheckboxType::class, [ |
| 170 | 170 | 'label_attr' => [ |
@@ -172,20 +172,20 @@ discard block |
||
| 172 | 172 | ], |
| 173 | 173 | 'required' => false, |
| 174 | 174 | 'label' => 'part.edit.is_favorite', |
| 175 | - 'disabled' => ! $this->security->isGranted('change_favorite', $part), |
|
| 175 | + 'disabled' => !$this->security->isGranted('change_favorite', $part), |
|
| 176 | 176 | ]) |
| 177 | 177 | ->add('mass', SIUnitType::class, [ |
| 178 | 178 | 'unit' => 'g', |
| 179 | 179 | 'label' => 'part.edit.mass', |
| 180 | 180 | 'required' => false, |
| 181 | - 'disabled' => ! $this->security->isGranted('mass.edit', $part), |
|
| 181 | + 'disabled' => !$this->security->isGranted('mass.edit', $part), |
|
| 182 | 182 | ]) |
| 183 | 183 | ->add('partUnit', StructuralEntityType::class, [ |
| 184 | 184 | 'class' => MeasurementUnit::class, |
| 185 | 185 | 'required' => false, |
| 186 | 186 | 'disable_not_selectable' => true, |
| 187 | 187 | 'label' => 'part.edit.partUnit', |
| 188 | - 'disabled' => ! $this->security->isGranted('unit.edit', $part), |
|
| 188 | + 'disabled' => !$this->security->isGranted('unit.edit', $part), |
|
| 189 | 189 | ]); |
| 190 | 190 | |
| 191 | 191 | //Comment section |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | 'attr' => [ |
| 196 | 196 | 'rows' => 4, |
| 197 | 197 | ], |
| 198 | - 'disabled' => ! $this->security->isGranted('comment.edit', $part), |
|
| 198 | + 'disabled' => !$this->security->isGranted('comment.edit', $part), |
|
| 199 | 199 | 'empty_data' => '', |
| 200 | 200 | ]); |
| 201 | 201 | |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | 'label' => false, |
| 208 | 208 | 'entry_options' => [ |
| 209 | 209 | 'measurement_unit' => $part->getPartUnit(), |
| 210 | - 'disabled' => ! $this->security->isGranted('lots.edit', $part), |
|
| 210 | + 'disabled' => !$this->security->isGranted('lots.edit', $part), |
|
| 211 | 211 | ], |
| 212 | 212 | 'by_reference' => false, |
| 213 | 213 | ]); |
@@ -220,14 +220,14 @@ discard block |
||
| 220 | 220 | 'label' => false, |
| 221 | 221 | 'entry_options' => [ |
| 222 | 222 | 'data_class' => PartAttachment::class, |
| 223 | - 'disabled' => ! $this->security->isGranted('attachments.edit', $part), |
|
| 223 | + 'disabled' => !$this->security->isGranted('attachments.edit', $part), |
|
| 224 | 224 | ], |
| 225 | 225 | 'by_reference' => false, |
| 226 | 226 | ]); |
| 227 | 227 | |
| 228 | 228 | $builder->add('master_picture_attachment', MasterPictureAttachmentType::class, [ |
| 229 | 229 | 'required' => false, |
| 230 | - 'disabled' => ! $this->security->isGranted('attachments.edit', $part), |
|
| 230 | + 'disabled' => !$this->security->isGranted('attachments.edit', $part), |
|
| 231 | 231 | 'label' => 'part.edit.master_attachment', |
| 232 | 232 | 'entity' => $part, |
| 233 | 233 | ]); |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | 'prototype_data' => new Orderdetail(), |
| 243 | 243 | 'entry_options' => [ |
| 244 | 244 | 'measurement_unit' => $part->getPartUnit(), |
| 245 | - 'disabled' => ! $this->security->isGranted('orderdetails.edit', $part), |
|
| 245 | + 'disabled' => !$this->security->isGranted('orderdetails.edit', $part), |
|
| 246 | 246 | ], |
| 247 | 247 | ]); |
| 248 | 248 | |
@@ -45,14 +45,14 @@ discard block |
||
| 45 | 45 | 'attr' => [ |
| 46 | 46 | 'class' => 'selectpicker', |
| 47 | 47 | ], |
| 48 | - 'choice_attr' => function (Options $options) { |
|
| 49 | - return function ($choice, $key, $value) use ($options) { |
|
| 48 | + 'choice_attr' => function(Options $options) { |
|
| 49 | + return function($choice, $key, $value) use ($options) { |
|
| 50 | 50 | /** @var Attachment $choice */ |
| 51 | 51 | $tmp = ['data-subtext' => $choice->getFilename() ?? 'URL']; |
| 52 | 52 | |
| 53 | - if ('picture' === $options['filter'] && ! $choice->isPicture()) { |
|
| 53 | + if ('picture' === $options['filter'] && !$choice->isPicture()) { |
|
| 54 | 54 | $tmp += ['disabled' => 'disabled']; |
| 55 | - } elseif ('3d_model' === $options['filter'] && ! $choice->is3DModel()) { |
|
| 55 | + } elseif ('3d_model' === $options['filter'] && !$choice->is3DModel()) { |
|
| 56 | 56 | $tmp += ['disabled' => 'disabled']; |
| 57 | 57 | } |
| 58 | 58 | |
@@ -60,13 +60,13 @@ discard block |
||
| 60 | 60 | }; |
| 61 | 61 | }, |
| 62 | 62 | 'choice_label' => 'name', |
| 63 | - 'class' => function (Options $options) { |
|
| 63 | + 'class' => function(Options $options) { |
|
| 64 | 64 | $short_class_name = (new ReflectionClass($options['entity']))->getShortName(); |
| 65 | 65 | //Category becomes CategoryAttachment |
| 66 | 66 | return 'App\\Entity\\Attachments\\'.$short_class_name.'Attachment'; |
| 67 | 67 | }, |
| 68 | - 'query_builder' => function (Options $options) { |
|
| 69 | - return function (EntityRepository $er) use ($options) { |
|
| 68 | + 'query_builder' => function(Options $options) { |
|
| 69 | + return function(EntityRepository $er) use ($options) { |
|
| 70 | 70 | $entity = $options['entity']; |
| 71 | 71 | if (null === $entity->getID()) { |
| 72 | 72 | //This query is always false, so we get empty results |
@@ -64,9 +64,9 @@ discard block |
||
| 64 | 64 | public function buildForm(FormBuilderInterface $builder, array $options): void |
| 65 | 65 | { |
| 66 | 66 | $builder->addModelTransformer(new CallbackTransformer( |
| 67 | - function ($value) use ($options) { |
|
| 67 | + function($value) use ($options) { |
|
| 68 | 68 | return $this->transform($value, $options); |
| 69 | - }, function ($value) use ($options) { |
|
| 69 | + }, function($value) use ($options) { |
|
| 70 | 70 | return $this->reverseTransform($value, $options); |
| 71 | 71 | })); |
| 72 | 72 | } |
@@ -76,25 +76,25 @@ discard block |
||
| 76 | 76 | $resolver->setRequired(['class']); |
| 77 | 77 | $resolver->setDefaults([ |
| 78 | 78 | 'show_fullpath_in_subtext' => true, //When this is enabled, the full path will be shown in subtext |
| 79 | - 'subentities_of' => null, //Only show entities with the given parent class |
|
| 80 | - 'disable_not_selectable' => false, //Disable entries with not selectable property |
|
| 79 | + 'subentities_of' => null, //Only show entities with the given parent class |
|
| 80 | + 'disable_not_selectable' => false, //Disable entries with not selectable property |
|
| 81 | 81 | 'choice_value' => 'id', //Use the element id as option value and for comparing items |
| 82 | - 'choice_loader' => function (Options $options) { |
|
| 83 | - return new CallbackChoiceLoader(function () use ($options) { |
|
| 82 | + 'choice_loader' => function(Options $options) { |
|
| 83 | + return new CallbackChoiceLoader(function() use ($options) { |
|
| 84 | 84 | return $this->getEntries($options); |
| 85 | 85 | }); |
| 86 | 86 | }, |
| 87 | - 'choice_label' => function ($choice, $key, $value) { |
|
| 87 | + 'choice_label' => function($choice, $key, $value) { |
|
| 88 | 88 | return $this->generateChoiceLabels($choice, $key, $value); |
| 89 | 89 | }, |
| 90 | - 'choice_attr' => function ($choice, $key, $value) { |
|
| 90 | + 'choice_attr' => function($choice, $key, $value) { |
|
| 91 | 91 | return $this->generateChoiceAttr($choice, $key, $value); |
| 92 | 92 | }, |
| 93 | 93 | ]); |
| 94 | 94 | |
| 95 | 95 | $resolver->setDefault('empty_message', null); |
| 96 | 96 | |
| 97 | - $resolver->setDefault('attr', function (Options $options) { |
|
| 97 | + $resolver->setDefault('attr', function(Options $options) { |
|
| 98 | 98 | $tmp = [ |
| 99 | 99 | 'class' => 'selectpicker', |
| 100 | 100 | 'data-live-search' => true, |
@@ -54,27 +54,27 @@ discard block |
||
| 54 | 54 | $builder |
| 55 | 55 | ->add('name', TextType::class, [ |
| 56 | 56 | 'label' => 'user.username.label', |
| 57 | - 'disabled' => ! $this->security->isGranted('edit_username', $options['data']) || $this->demo_mode, |
|
| 57 | + 'disabled' => !$this->security->isGranted('edit_username', $options['data']) || $this->demo_mode, |
|
| 58 | 58 | ]) |
| 59 | 59 | ->add('first_name', TextType::class, [ |
| 60 | 60 | 'required' => false, |
| 61 | 61 | 'label' => 'user.firstName.label', |
| 62 | - 'disabled' => ! $this->security->isGranted('edit_infos', $options['data']) || $this->demo_mode, |
|
| 62 | + 'disabled' => !$this->security->isGranted('edit_infos', $options['data']) || $this->demo_mode, |
|
| 63 | 63 | ]) |
| 64 | 64 | ->add('last_name', TextType::class, [ |
| 65 | 65 | 'required' => false, |
| 66 | 66 | 'label' => 'user.lastName.label', |
| 67 | - 'disabled' => ! $this->security->isGranted('edit_infos', $options['data']) || $this->demo_mode, |
|
| 67 | + 'disabled' => !$this->security->isGranted('edit_infos', $options['data']) || $this->demo_mode, |
|
| 68 | 68 | ]) |
| 69 | 69 | ->add('department', TextType::class, [ |
| 70 | 70 | 'required' => false, |
| 71 | 71 | 'label' => 'user.department.label', |
| 72 | - 'disabled' => ! $this->security->isGranted('edit_infos', $options['data']) || $this->demo_mode, |
|
| 72 | + 'disabled' => !$this->security->isGranted('edit_infos', $options['data']) || $this->demo_mode, |
|
| 73 | 73 | ]) |
| 74 | 74 | ->add('email', EmailType::class, [ |
| 75 | 75 | 'required' => false, |
| 76 | 76 | 'label' => 'user.email.label', |
| 77 | - 'disabled' => ! $this->security->isGranted('edit_infos', $options['data']) || $this->demo_mode, |
|
| 77 | + 'disabled' => !$this->security->isGranted('edit_infos', $options['data']) || $this->demo_mode, |
|
| 78 | 78 | ]) |
| 79 | 79 | ->add('language', LanguageType::class, [ |
| 80 | 80 | 'disabled' => $this->demo_mode, |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | 'class' => 'selectpicker', |
| 106 | 106 | ], |
| 107 | 107 | 'choices' => User::AVAILABLE_THEMES, |
| 108 | - 'choice_label' => function ($entity, $key, $value) { |
|
| 108 | + 'choice_label' => function($entity, $key, $value) { |
|
| 109 | 109 | return $value; |
| 110 | 110 | }, |
| 111 | 111 | 'placeholder' => 'user_settings.theme.placeholder', |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | |
| 41 | 41 | public function convertToDatabaseValue($value, AbstractPlatform $platform) |
| 42 | 42 | { |
| 43 | - if (! self::$utc_timezone) { |
|
| 43 | + if (!self::$utc_timezone) { |
|
| 44 | 44 | self::$utc_timezone = new DateTimeZone('UTC'); |
| 45 | 45 | } |
| 46 | 46 | |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | public function convertToPHPValue($value, AbstractPlatform $platform) |
| 55 | 55 | { |
| 56 | - if (! self::$utc_timezone) { |
|
| 56 | + if (!self::$utc_timezone) { |
|
| 57 | 57 | self::$utc_timezone = new DateTimeZone('UTC'); |
| 58 | 58 | } |
| 59 | 59 | |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | self::$utc_timezone |
| 68 | 68 | ); |
| 69 | 69 | |
| 70 | - if (! $converted) { |
|
| 70 | + if (!$converted) { |
|
| 71 | 71 | throw ConversionException::conversionFailedFormat($value, $this->getName(), $platform->getDateTimeFormatString()); |
| 72 | 72 | } |
| 73 | 73 | |