[Fix CS] Unneeded whitespace around negation operator
This commit is contained in:
parent
7c47e34928
commit
553e294f77
@ -51,7 +51,7 @@ class DoctrineValidationPass implements CompilerPassInterface
|
|||||||
*/
|
*/
|
||||||
private function updateValidatorMappingFiles(ContainerBuilder $container, $mapping, $extension)
|
private function updateValidatorMappingFiles(ContainerBuilder $container, $mapping, $extension)
|
||||||
{
|
{
|
||||||
if ( ! $container->hasParameter('validator.mapping.loader.'.$mapping.'_files_loader.mapping_files')) {
|
if (!$container->hasParameter('validator.mapping.loader.'.$mapping.'_files_loader.mapping_files')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -249,7 +249,7 @@
|
|||||||
|
|
||||||
// Filter for main events.
|
// Filter for main events.
|
||||||
mainEvents = drawableEvents.filter(function(event) {
|
mainEvents = drawableEvents.filter(function(event) {
|
||||||
return ! isChildEvent(event)
|
return !isChildEvent(event)
|
||||||
});
|
});
|
||||||
|
|
||||||
// For each main event, draw the visual presentation of timelines.
|
// For each main event, draw the visual presentation of timelines.
|
||||||
@ -274,7 +274,7 @@
|
|||||||
// Draw the timeline
|
// Draw the timeline
|
||||||
var timelineHeadPosition = x + period.start * ratio;
|
var timelineHeadPosition = x + period.start * ratio;
|
||||||
|
|
||||||
if ( ! isSectionEvent(event)) {
|
if (!isSectionEvent(event)) {
|
||||||
ctx.fillRect(timelineHeadPosition, h + 3, 2, 6);
|
ctx.fillRect(timelineHeadPosition, h + 3, 2, 6);
|
||||||
ctx.fillRect(timelineHeadPosition, h, (period.end - period.start) * ratio || 2, 6);
|
ctx.fillRect(timelineHeadPosition, h, (period.end - period.start) * ratio || 2, 6);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user