File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -312,9 +312,9 @@ protected function assembleSetterNameFromConfigKey(string $key): string
312
312
$ setter = 'set ' . implode ('' , $ parts );
313
313
if (!method_exists ($ this , $ setter )) {
314
314
throw new Exception \BadMethodCallException (
315
- 'The configuration key " ' . $ key . '" does not '
316
- . 'have a matching ' . $ setter . ' setter method '
317
- . 'which must be defined '
315
+ 'The configuration key " ' . $ key . '" does not '
316
+ . 'have a matching ' . $ setter . ' setter method '
317
+ . 'which must be defined '
318
318
);
319
319
}
320
320
@@ -353,15 +353,12 @@ public function getUmask(): ?int
353
353
354
354
public function setUmask (?int $ umask ): void
355
355
{
356
- $ this ->umask = null ;
357
- if (is_int ($ umask )) {
358
- $ this ->umask = (int ) $ umask ;
359
- }
356
+ $ this ->umask = $ umask ;
360
357
}
361
358
362
359
public function setBuildOnRequest (bool $ flag ): void
363
360
{
364
- $ this ->buildOnRequest = ( bool ) $ flag ;
361
+ $ this ->buildOnRequest = $ flag ;
365
362
}
366
363
367
364
public function getBuildOnRequest (): bool
You can’t perform that action at this time.
0 commit comments