[Fix CS] Unneeded whitespace around negation operator

This commit is contained in:
Dariusz Górecki 2013-04-02 10:46:23 +01:00
parent 7c47e34928
commit 553e294f77
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ class DoctrineValidationPass implements CompilerPassInterface
*/
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;
}

View File

@ -249,7 +249,7 @@
// Filter for main events.
mainEvents = drawableEvents.filter(function(event) {
return ! isChildEvent(event)
return !isChildEvent(event)
});
// For each main event, draw the visual presentation of timelines.
@ -274,7 +274,7 @@
// Draw the timeline
var timelineHeadPosition = x + period.start * ratio;
if ( ! isSectionEvent(event)) {
if (!isSectionEvent(event)) {
ctx.fillRect(timelineHeadPosition, h + 3, 2, 6);
ctx.fillRect(timelineHeadPosition, h, (period.end - period.start) * ratio || 2, 6);
} else {