Completed
Push — master ( 33443d...de9a4e )
by Sam
03:47
created
src/cli/Database/Map/ConnectionTableMap.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -112,12 +112,12 @@  discard block
 block discarded – undo
112 112
      * first dimension keys are the type constants
113 113
      * e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
114 114
      */
115
-    protected static $fieldNames = array (
116
-        self::TYPE_PHPNAME       => array('Id', 'InstanceName', 'UserId', 'Peer', 'Started', 'Type', ),
117
-        self::TYPE_CAMELNAME     => array('id', 'instanceName', 'userId', 'peer', 'started', 'type', ),
118
-        self::TYPE_COLNAME       => array(ConnectionTableMap::COL_ID, ConnectionTableMap::COL_INSTANCE_NAME, ConnectionTableMap::COL_USER_ID, ConnectionTableMap::COL_PEER, ConnectionTableMap::COL_STARTED, ConnectionTableMap::COL_TYPE, ),
119
-        self::TYPE_FIELDNAME     => array('id', 'instance_name', 'user_id', 'peer', 'started', 'type', ),
120
-        self::TYPE_NUM           => array(0, 1, 2, 3, 4, 5, )
115
+    protected static $fieldNames = array(
116
+        self::TYPE_PHPNAME       => array('Id', 'InstanceName', 'UserId', 'Peer', 'Started', 'Type',),
117
+        self::TYPE_CAMELNAME     => array('id', 'instanceName', 'userId', 'peer', 'started', 'type',),
118
+        self::TYPE_COLNAME       => array(ConnectionTableMap::COL_ID, ConnectionTableMap::COL_INSTANCE_NAME, ConnectionTableMap::COL_USER_ID, ConnectionTableMap::COL_PEER, ConnectionTableMap::COL_STARTED, ConnectionTableMap::COL_TYPE,),
119
+        self::TYPE_FIELDNAME     => array('id', 'instance_name', 'user_id', 'peer', 'started', 'type',),
120
+        self::TYPE_NUM           => array(0, 1, 2, 3, 4, 5,)
121 121
     );
122 122
 
123 123
     /**
@@ -126,12 +126,12 @@  discard block
 block discarded – undo
126 126
      * first dimension keys are the type constants
127 127
      * e.g. self::$fieldKeys[self::TYPE_PHPNAME]['Id'] = 0
128 128
      */
129
-    protected static $fieldKeys = array (
130
-        self::TYPE_PHPNAME       => array('Id' => 0, 'InstanceName' => 1, 'UserId' => 2, 'Peer' => 3, 'Started' => 4, 'Type' => 5, ),
131
-        self::TYPE_CAMELNAME     => array('id' => 0, 'instanceName' => 1, 'userId' => 2, 'peer' => 3, 'started' => 4, 'type' => 5, ),
132
-        self::TYPE_COLNAME       => array(ConnectionTableMap::COL_ID => 0, ConnectionTableMap::COL_INSTANCE_NAME => 1, ConnectionTableMap::COL_USER_ID => 2, ConnectionTableMap::COL_PEER => 3, ConnectionTableMap::COL_STARTED => 4, ConnectionTableMap::COL_TYPE => 5, ),
133
-        self::TYPE_FIELDNAME     => array('id' => 0, 'instance_name' => 1, 'user_id' => 2, 'peer' => 3, 'started' => 4, 'type' => 5, ),
134
-        self::TYPE_NUM           => array(0, 1, 2, 3, 4, 5, )
129
+    protected static $fieldKeys = array(
130
+        self::TYPE_PHPNAME       => array('Id' => 0, 'InstanceName' => 1, 'UserId' => 2, 'Peer' => 3, 'Started' => 4, 'Type' => 5,),
131
+        self::TYPE_CAMELNAME     => array('id' => 0, 'instanceName' => 1, 'userId' => 2, 'peer' => 3, 'started' => 4, 'type' => 5,),
132
+        self::TYPE_COLNAME       => array(ConnectionTableMap::COL_ID => 0, ConnectionTableMap::COL_INSTANCE_NAME => 1, ConnectionTableMap::COL_USER_ID => 2, ConnectionTableMap::COL_PEER => 3, ConnectionTableMap::COL_STARTED => 4, ConnectionTableMap::COL_TYPE => 5,),
133
+        self::TYPE_FIELDNAME     => array('id' => 0, 'instance_name' => 1, 'user_id' => 2, 'peer' => 3, 'started' => 4, 'type' => 5,),
134
+        self::TYPE_NUM           => array(0, 1, 2, 3, 4, 5,)
135 135
     );
136 136
 
137 137
     /**
@@ -164,16 +164,16 @@  discard block
 block discarded – undo
164 164
      */
165 165
     public function buildRelations()
166 166
     {
167
-        $this->addRelation('Instance', '\\Jalle19\\StatusManager\\Database\\Instance', RelationMap::MANY_TO_ONE, array (
167
+        $this->addRelation('Instance', '\\Jalle19\\StatusManager\\Database\\Instance', RelationMap::MANY_TO_ONE, array(
168 168
   0 =>
169
-  array (
169
+  array(
170 170
     0 => ':instance_name',
171 171
     1 => ':name',
172 172
   ),
173 173
 ), null, null, null, false);
174
-        $this->addRelation('User', '\\Jalle19\\StatusManager\\Database\\User', RelationMap::MANY_TO_ONE, array (
174
+        $this->addRelation('User', '\\Jalle19\\StatusManager\\Database\\User', RelationMap::MANY_TO_ONE, array(
175 175
   0 =>
176
-  array (
176
+  array(
177 177
     0 => ':user_id',
178 178
     1 => ':id',
179 179
   ),
@@ -433,8 +433,8 @@  discard block
 block discarded – undo
433 433
             $criteria = $criteria->buildCriteria(); // build Criteria from Connection object
434 434
         }
435 435
 
436
-        if ($criteria->containsKey(ConnectionTableMap::COL_ID) && $criteria->keyContainsValue(ConnectionTableMap::COL_ID) ) {
437
-            throw new PropelException('Cannot insert a value for auto-increment primary key ('.ConnectionTableMap::COL_ID.')');
436
+        if ($criteria->containsKey(ConnectionTableMap::COL_ID) && $criteria->keyContainsValue(ConnectionTableMap::COL_ID)) {
437
+            throw new PropelException('Cannot insert a value for auto-increment primary key (' . ConnectionTableMap::COL_ID . ')');
438 438
         }
439 439
 
440 440
 
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
 
444 444
         // use transaction because $criteria could contain info
445 445
         // for more than one table (I guess, conceivably)
446
-        return $con->transaction(function () use ($con, $query) {
446
+        return $con->transaction(function() use ($con, $query) {
447 447
             return $query->doInsert($con);
448 448
         });
449 449
     }
Please login to merge, or discard this patch.
src/cli/Database/Map/UserTableMap.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -97,12 +97,12 @@  discard block
 block discarded – undo
97 97
      * first dimension keys are the type constants
98 98
      * e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
99 99
      */
100
-    protected static $fieldNames = array (
101
-        self::TYPE_PHPNAME       => array('Id', 'InstanceName', 'Name', ),
102
-        self::TYPE_CAMELNAME     => array('id', 'instanceName', 'name', ),
103
-        self::TYPE_COLNAME       => array(UserTableMap::COL_ID, UserTableMap::COL_INSTANCE_NAME, UserTableMap::COL_NAME, ),
104
-        self::TYPE_FIELDNAME     => array('id', 'instance_name', 'name', ),
105
-        self::TYPE_NUM           => array(0, 1, 2, )
100
+    protected static $fieldNames = array(
101
+        self::TYPE_PHPNAME       => array('Id', 'InstanceName', 'Name',),
102
+        self::TYPE_CAMELNAME     => array('id', 'instanceName', 'name',),
103
+        self::TYPE_COLNAME       => array(UserTableMap::COL_ID, UserTableMap::COL_INSTANCE_NAME, UserTableMap::COL_NAME,),
104
+        self::TYPE_FIELDNAME     => array('id', 'instance_name', 'name',),
105
+        self::TYPE_NUM           => array(0, 1, 2,)
106 106
     );
107 107
 
108 108
     /**
@@ -111,12 +111,12 @@  discard block
 block discarded – undo
111 111
      * first dimension keys are the type constants
112 112
      * e.g. self::$fieldKeys[self::TYPE_PHPNAME]['Id'] = 0
113 113
      */
114
-    protected static $fieldKeys = array (
115
-        self::TYPE_PHPNAME       => array('Id' => 0, 'InstanceName' => 1, 'Name' => 2, ),
116
-        self::TYPE_CAMELNAME     => array('id' => 0, 'instanceName' => 1, 'name' => 2, ),
117
-        self::TYPE_COLNAME       => array(UserTableMap::COL_ID => 0, UserTableMap::COL_INSTANCE_NAME => 1, UserTableMap::COL_NAME => 2, ),
118
-        self::TYPE_FIELDNAME     => array('id' => 0, 'instance_name' => 1, 'name' => 2, ),
119
-        self::TYPE_NUM           => array(0, 1, 2, )
114
+    protected static $fieldKeys = array(
115
+        self::TYPE_PHPNAME       => array('Id' => 0, 'InstanceName' => 1, 'Name' => 2,),
116
+        self::TYPE_CAMELNAME     => array('id' => 0, 'instanceName' => 1, 'name' => 2,),
117
+        self::TYPE_COLNAME       => array(UserTableMap::COL_ID => 0, UserTableMap::COL_INSTANCE_NAME => 1, UserTableMap::COL_NAME => 2,),
118
+        self::TYPE_FIELDNAME     => array('id' => 0, 'instance_name' => 1, 'name' => 2,),
119
+        self::TYPE_NUM           => array(0, 1, 2,)
120 120
     );
121 121
 
122 122
     /**
@@ -146,23 +146,23 @@  discard block
 block discarded – undo
146 146
      */
147 147
     public function buildRelations()
148 148
     {
149
-        $this->addRelation('Instance', '\\Jalle19\\StatusManager\\Database\\Instance', RelationMap::MANY_TO_ONE, array (
149
+        $this->addRelation('Instance', '\\Jalle19\\StatusManager\\Database\\Instance', RelationMap::MANY_TO_ONE, array(
150 150
   0 =>
151
-  array (
151
+  array(
152 152
     0 => ':instance_name',
153 153
     1 => ':name',
154 154
   ),
155 155
 ), null, null, null, false);
156
-        $this->addRelation('Connection', '\\Jalle19\\StatusManager\\Database\\Connection', RelationMap::ONE_TO_MANY, array (
156
+        $this->addRelation('Connection', '\\Jalle19\\StatusManager\\Database\\Connection', RelationMap::ONE_TO_MANY, array(
157 157
   0 =>
158
-  array (
158
+  array(
159 159
     0 => ':user_id',
160 160
     1 => ':id',
161 161
   ),
162 162
 ), null, null, 'Connections', false);
163
-        $this->addRelation('Subscription', '\\Jalle19\\StatusManager\\Database\\Subscription', RelationMap::ONE_TO_MANY, array (
163
+        $this->addRelation('Subscription', '\\Jalle19\\StatusManager\\Database\\Subscription', RelationMap::ONE_TO_MANY, array(
164 164
   0 =>
165
-  array (
165
+  array(
166 166
     0 => ':user_id',
167 167
     1 => ':id',
168 168
   ),
@@ -416,8 +416,8 @@  discard block
 block discarded – undo
416 416
             $criteria = $criteria->buildCriteria(); // build Criteria from User object
417 417
         }
418 418
 
419
-        if ($criteria->containsKey(UserTableMap::COL_ID) && $criteria->keyContainsValue(UserTableMap::COL_ID) ) {
420
-            throw new PropelException('Cannot insert a value for auto-increment primary key ('.UserTableMap::COL_ID.')');
419
+        if ($criteria->containsKey(UserTableMap::COL_ID) && $criteria->keyContainsValue(UserTableMap::COL_ID)) {
420
+            throw new PropelException('Cannot insert a value for auto-increment primary key (' . UserTableMap::COL_ID . ')');
421 421
         }
422 422
 
423 423
 
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
 
427 427
         // use transaction because $criteria could contain info
428 428
         // for more than one table (I guess, conceivably)
429
-        return $con->transaction(function () use ($con, $query) {
429
+        return $con->transaction(function() use ($con, $query) {
430 430
             return $query->doInsert($con);
431 431
         });
432 432
     }
Please login to merge, or discard this patch.
migrations/PropelMigration_1455268734.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getUpSQL()
39 39
     {
40
-        return array (
40
+        return array(
41 41
   'tvheadend_status_manager' => '
42 42
 PRAGMA foreign_keys = OFF;
43 43
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     public function getDownSQL()
72 72
     {
73
-        return array (
73
+        return array(
74 74
   'tvheadend_status_manager' => '
75 75
 PRAGMA foreign_keys = OFF;
76 76
 
Please login to merge, or discard this patch.
migrations/PropelMigration_1455269307.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getUpSQL()
39 39
     {
40
-        return array (
40
+        return array(
41 41
   'tvheadend_status_manager' => '
42 42
 PRAGMA foreign_keys = OFF;
43 43
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function getDownSQL()
58 58
     {
59
-        return array (
59
+        return array(
60 60
   'tvheadend_status_manager' => '
61 61
 PRAGMA foreign_keys = OFF;
62 62
 
Please login to merge, or discard this patch.
migrations/PropelMigration_1455269455.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getUpSQL()
39 39
     {
40
-        return array (
40
+        return array(
41 41
   'tvheadend_status_manager' => '
42 42
 PRAGMA foreign_keys = OFF;
43 43
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function getDownSQL()
81 81
     {
82
-        return array (
82
+        return array(
83 83
   'tvheadend_status_manager' => '
84 84
 PRAGMA foreign_keys = OFF;
85 85
 
Please login to merge, or discard this patch.
migrations/PropelMigration_1455269809.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function getUpSQL()
39 39
     {
40
-        return array (
40
+        return array(
41 41
   'tvheadend_status_manager' => '
42 42
 PRAGMA foreign_keys = OFF;
43 43
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function getDownSQL()
81 81
     {
82
-        return array (
82
+        return array(
83 83
   'tvheadend_status_manager' => '
84 84
 PRAGMA foreign_keys = OFF;
85 85
 
Please login to merge, or discard this patch.
src/cli/Database/Base/Input.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
         $propertyNames = [];
361 361
         $serializableProperties = array_diff($cls->getProperties(), $cls->getProperties(\ReflectionProperty::IS_STATIC));
362 362
 
363
-        foreach($serializableProperties as $property) {
363
+        foreach ($serializableProperties as $property) {
364 364
             $propertyNames[] = $property->getName();
365 365
         }
366 366
 
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
             $con = Propel::getServiceContainer()->getWriteConnection(InputTableMap::DATABASE_NAME);
745 745
         }
746 746
 
747
-        $con->transaction(function () use ($con) {
747
+        $con->transaction(function() use ($con) {
748 748
             $deleteQuery = ChildInputQuery::create()
749 749
                 ->filterByPrimaryKey($this->getPrimaryKey());
750 750
             $ret = $this->preDelete($con);
@@ -779,7 +779,7 @@  discard block
 block discarded – undo
779 779
             $con = Propel::getServiceContainer()->getWriteConnection(InputTableMap::DATABASE_NAME);
780 780
         }
781 781
 
782
-        return $con->transaction(function () use ($con) {
782
+        return $con->transaction(function() use ($con) {
783 783
             $isInsert = $this->isNew();
784 784
             $ret = $this->preSave($con);
785 785
             if ($isInsert) {
@@ -1074,7 +1074,7 @@  discard block
 block discarded – undo
1074 1074
                         $key = 'Instance';
1075 1075
                 }
1076 1076
 
1077
-                $result[$key] = $this->aInstance->toArray($keyType, $includeLazyLoadColumns,  $alreadyDumpedObjects, true);
1077
+                $result[$key] = $this->aInstance->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true);
1078 1078
             }
1079 1079
             if (null !== $this->collSubscriptions) {
1080 1080
 
@@ -1519,7 +1519,7 @@  discard block
 block discarded – undo
1519 1519
     public function getSubscriptions(Criteria $criteria = null, ConnectionInterface $con = null)
1520 1520
     {
1521 1521
         $partial = $this->collSubscriptionsPartial && !$this->isNew();
1522
-        if (null === $this->collSubscriptions || null !== $criteria  || $partial) {
1522
+        if (null === $this->collSubscriptions || null !== $criteria || $partial) {
1523 1523
             if ($this->isNew() && null === $this->collSubscriptions) {
1524 1524
                 // return empty collection
1525 1525
                 $this->initSubscriptions();
@@ -1657,7 +1657,7 @@  discard block
 block discarded – undo
1657 1657
      */
1658 1658
     protected function doAddSubscription(ChildSubscription $subscription)
1659 1659
     {
1660
-        $this->collSubscriptions[]= $subscription;
1660
+        $this->collSubscriptions[] = $subscription;
1661 1661
         $subscription->setInput($this);
1662 1662
     }
1663 1663
 
@@ -1674,7 +1674,7 @@  discard block
 block discarded – undo
1674 1674
                 $this->subscriptionsScheduledForDeletion = clone $this->collSubscriptions;
1675 1675
                 $this->subscriptionsScheduledForDeletion->clear();
1676 1676
             }
1677
-            $this->subscriptionsScheduledForDeletion[]= $subscription;
1677
+            $this->subscriptionsScheduledForDeletion[] = $subscription;
1678 1678
             $subscription->setInput(null);
1679 1679
         }
1680 1680
 
Please login to merge, or discard this patch.
src/cli/Database/Base/InputQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -620,7 +620,7 @@  discard block
 block discarded – undo
620 620
 
621 621
         // use transaction because $criteria could contain info
622 622
         // for more than one table or we could emulating ON DELETE CASCADE, etc.
623
-        return $con->transaction(function () use ($con) {
623
+        return $con->transaction(function() use ($con) {
624 624
             $affectedRows = 0; // initialize var to track total num of affected rows
625 625
             $affectedRows += parent::doDeleteAll($con);
626 626
             // Because this db requires some delete cascade/set null emulation, we have to
@@ -655,7 +655,7 @@  discard block
 block discarded – undo
655 655
 
656 656
         // use transaction because $criteria could contain info
657 657
         // for more than one table or we could emulating ON DELETE CASCADE, etc.
658
-        return $con->transaction(function () use ($con, $criteria) {
658
+        return $con->transaction(function() use ($con, $criteria) {
659 659
             $affectedRows = 0; // initialize var to track total num of affected rows
660 660
 
661 661
             UserTableMap::removeInstanceFromPool($criteria);
Please login to merge, or discard this patch.
src/cli/Database/Base/Instance.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
         $propertyNames = [];
370 370
         $serializableProperties = array_diff($cls->getProperties(), $cls->getProperties(\ReflectionProperty::IS_STATIC));
371 371
 
372
-        foreach($serializableProperties as $property) {
372
+        foreach ($serializableProperties as $property) {
373 373
             $propertyNames[] = $property->getName();
374 374
         }
375 375
 
@@ -545,7 +545,7 @@  discard block
 block discarded – undo
545 545
             $con = Propel::getServiceContainer()->getWriteConnection(InstanceTableMap::DATABASE_NAME);
546 546
         }
547 547
 
548
-        $con->transaction(function () use ($con) {
548
+        $con->transaction(function() use ($con) {
549 549
             $deleteQuery = ChildInstanceQuery::create()
550 550
                 ->filterByPrimaryKey($this->getPrimaryKey());
551 551
             $ret = $this->preDelete($con);
@@ -580,7 +580,7 @@  discard block
 block discarded – undo
580 580
             $con = Propel::getServiceContainer()->getWriteConnection(InstanceTableMap::DATABASE_NAME);
581 581
         }
582 582
 
583
-        return $con->transaction(function () use ($con) {
583
+        return $con->transaction(function() use ($con) {
584 584
             $isInsert = $this->isNew();
585 585
             $ret = $this->preSave($con);
586 586
             if ($isInsert) {
@@ -741,7 +741,7 @@  discard block
 block discarded – undo
741 741
 
742 742
          // check the columns in natural order for more readable SQL queries
743 743
         if ($this->isColumnModified(InstanceTableMap::COL_NAME)) {
744
-            $modifiedColumns[':p' . $index++]  = 'name';
744
+            $modifiedColumns[':p' . $index++] = 'name';
745 745
         }
746 746
 
747 747
         $sql = sprintf(
@@ -1281,7 +1281,7 @@  discard block
 block discarded – undo
1281 1281
     public function getUsers(Criteria $criteria = null, ConnectionInterface $con = null)
1282 1282
     {
1283 1283
         $partial = $this->collUsersPartial && !$this->isNew();
1284
-        if (null === $this->collUsers || null !== $criteria  || $partial) {
1284
+        if (null === $this->collUsers || null !== $criteria || $partial) {
1285 1285
             if ($this->isNew() && null === $this->collUsers) {
1286 1286
                 // return empty collection
1287 1287
                 $this->initUsers();
@@ -1419,7 +1419,7 @@  discard block
 block discarded – undo
1419 1419
      */
1420 1420
     protected function doAddUser(ChildUser $user)
1421 1421
     {
1422
-        $this->collUsers[]= $user;
1422
+        $this->collUsers[] = $user;
1423 1423
         $user->setInstance($this);
1424 1424
     }
1425 1425
 
@@ -1436,7 +1436,7 @@  discard block
 block discarded – undo
1436 1436
                 $this->usersScheduledForDeletion = clone $this->collUsers;
1437 1437
                 $this->usersScheduledForDeletion->clear();
1438 1438
             }
1439
-            $this->usersScheduledForDeletion[]= clone $user;
1439
+            $this->usersScheduledForDeletion[] = clone $user;
1440 1440
             $user->setInstance(null);
1441 1441
         }
1442 1442
 
@@ -1506,7 +1506,7 @@  discard block
 block discarded – undo
1506 1506
     public function getConnections(Criteria $criteria = null, ConnectionInterface $con = null)
1507 1507
     {
1508 1508
         $partial = $this->collConnectionsPartial && !$this->isNew();
1509
-        if (null === $this->collConnections || null !== $criteria  || $partial) {
1509
+        if (null === $this->collConnections || null !== $criteria || $partial) {
1510 1510
             if ($this->isNew() && null === $this->collConnections) {
1511 1511
                 // return empty collection
1512 1512
                 $this->initConnections();
@@ -1644,7 +1644,7 @@  discard block
 block discarded – undo
1644 1644
      */
1645 1645
     protected function doAddConnection(ChildConnection $connection)
1646 1646
     {
1647
-        $this->collConnections[]= $connection;
1647
+        $this->collConnections[] = $connection;
1648 1648
         $connection->setInstance($this);
1649 1649
     }
1650 1650
 
@@ -1661,7 +1661,7 @@  discard block
 block discarded – undo
1661 1661
                 $this->connectionsScheduledForDeletion = clone $this->collConnections;
1662 1662
                 $this->connectionsScheduledForDeletion->clear();
1663 1663
             }
1664
-            $this->connectionsScheduledForDeletion[]= clone $connection;
1664
+            $this->connectionsScheduledForDeletion[] = clone $connection;
1665 1665
             $connection->setInstance(null);
1666 1666
         }
1667 1667
 
@@ -1756,7 +1756,7 @@  discard block
 block discarded – undo
1756 1756
     public function getInputs(Criteria $criteria = null, ConnectionInterface $con = null)
1757 1757
     {
1758 1758
         $partial = $this->collInputsPartial && !$this->isNew();
1759
-        if (null === $this->collInputs || null !== $criteria  || $partial) {
1759
+        if (null === $this->collInputs || null !== $criteria || $partial) {
1760 1760
             if ($this->isNew() && null === $this->collInputs) {
1761 1761
                 // return empty collection
1762 1762
                 $this->initInputs();
@@ -1894,7 +1894,7 @@  discard block
 block discarded – undo
1894 1894
      */
1895 1895
     protected function doAddInput(ChildInput $input)
1896 1896
     {
1897
-        $this->collInputs[]= $input;
1897
+        $this->collInputs[] = $input;
1898 1898
         $input->setInstance($this);
1899 1899
     }
1900 1900
 
@@ -1911,7 +1911,7 @@  discard block
 block discarded – undo
1911 1911
                 $this->inputsScheduledForDeletion = clone $this->collInputs;
1912 1912
                 $this->inputsScheduledForDeletion->clear();
1913 1913
             }
1914
-            $this->inputsScheduledForDeletion[]= clone $input;
1914
+            $this->inputsScheduledForDeletion[] = clone $input;
1915 1915
             $input->setInstance(null);
1916 1916
         }
1917 1917
 
@@ -1981,7 +1981,7 @@  discard block
 block discarded – undo
1981 1981
     public function getChannels(Criteria $criteria = null, ConnectionInterface $con = null)
1982 1982
     {
1983 1983
         $partial = $this->collChannelsPartial && !$this->isNew();
1984
-        if (null === $this->collChannels || null !== $criteria  || $partial) {
1984
+        if (null === $this->collChannels || null !== $criteria || $partial) {
1985 1985
             if ($this->isNew() && null === $this->collChannels) {
1986 1986
                 // return empty collection
1987 1987
                 $this->initChannels();
@@ -2119,7 +2119,7 @@  discard block
 block discarded – undo
2119 2119
      */
2120 2120
     protected function doAddChannel(ChildChannel $channel)
2121 2121
     {
2122
-        $this->collChannels[]= $channel;
2122
+        $this->collChannels[] = $channel;
2123 2123
         $channel->setInstance($this);
2124 2124
     }
2125 2125
 
@@ -2136,7 +2136,7 @@  discard block
 block discarded – undo
2136 2136
                 $this->channelsScheduledForDeletion = clone $this->collChannels;
2137 2137
                 $this->channelsScheduledForDeletion->clear();
2138 2138
             }
2139
-            $this->channelsScheduledForDeletion[]= clone $channel;
2139
+            $this->channelsScheduledForDeletion[] = clone $channel;
2140 2140
             $channel->setInstance(null);
2141 2141
         }
2142 2142
 
@@ -2206,7 +2206,7 @@  discard block
 block discarded – undo
2206 2206
     public function getSubscriptions(Criteria $criteria = null, ConnectionInterface $con = null)
2207 2207
     {
2208 2208
         $partial = $this->collSubscriptionsPartial && !$this->isNew();
2209
-        if (null === $this->collSubscriptions || null !== $criteria  || $partial) {
2209
+        if (null === $this->collSubscriptions || null !== $criteria || $partial) {
2210 2210
             if ($this->isNew() && null === $this->collSubscriptions) {
2211 2211
                 // return empty collection
2212 2212
                 $this->initSubscriptions();
@@ -2344,7 +2344,7 @@  discard block
 block discarded – undo
2344 2344
      */
2345 2345
     protected function doAddSubscription(ChildSubscription $subscription)
2346 2346
     {
2347
-        $this->collSubscriptions[]= $subscription;
2347
+        $this->collSubscriptions[] = $subscription;
2348 2348
         $subscription->setInstance($this);
2349 2349
     }
2350 2350
 
@@ -2361,7 +2361,7 @@  discard block
 block discarded – undo
2361 2361
                 $this->subscriptionsScheduledForDeletion = clone $this->collSubscriptions;
2362 2362
                 $this->subscriptionsScheduledForDeletion->clear();
2363 2363
             }
2364
-            $this->subscriptionsScheduledForDeletion[]= clone $subscription;
2364
+            $this->subscriptionsScheduledForDeletion[] = clone $subscription;
2365 2365
             $subscription->setInstance(null);
2366 2366
         }
2367 2367
 
Please login to merge, or discard this patch.