@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | * $obj = $c->findPk(12, $con); |
| 149 | 149 | * </code> |
| 150 | 150 | * |
| 151 | - * @param mixed $key Primary key to use for the query |
|
| 151 | + * @param string $key Primary key to use for the query |
|
| 152 | 152 | * @param ConnectionInterface $con an optional connection object |
| 153 | 153 | * |
| 154 | 154 | * @return ChildInput|array|mixed the result, formatted by the current formatter |
@@ -510,7 +510,7 @@ discard block |
||
| 510 | 510 | /** |
| 511 | 511 | * Filter the query by a related \Jalle19\StatusManager\Database\Instance object |
| 512 | 512 | * |
| 513 | - * @param \Jalle19\StatusManager\Database\Instance|ObjectCollection $instance The related object(s) to use as filter |
|
| 513 | + * @param Instance $instance The related object(s) to use as filter |
|
| 514 | 514 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 515 | 515 | * |
| 516 | 516 | * @throws \Propel\Runtime\Exception\PropelException |
@@ -424,7 +424,7 @@ discard block |
||
| 424 | 424 | * |
| 425 | 425 | * @see filterByUser() |
| 426 | 426 | * |
| 427 | - * @param mixed $userId The value to use as filter. |
|
| 427 | + * @param integer|null $userId The value to use as filter. |
|
| 428 | 428 | * Use scalar values for equality. |
| 429 | 429 | * Use array values for in_array() equivalent. |
| 430 | 430 | * Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
@@ -508,7 +508,7 @@ discard block |
||
| 508 | 508 | * $query->filterBySubscriptionId(array('min' => 12)); // WHERE subscription_id > 12 |
| 509 | 509 | * </code> |
| 510 | 510 | * |
| 511 | - * @param mixed $subscriptionId The value to use as filter. |
|
| 511 | + * @param integer $subscriptionId The value to use as filter. |
|
| 512 | 512 | * Use scalar values for equality. |
| 513 | 513 | * Use array values for in_array() equivalent. |
| 514 | 514 | * Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
@@ -549,7 +549,7 @@ discard block |
||
| 549 | 549 | * $query->filterByStarted(array('max' => 'yesterday')); // WHERE started > '2011-03-13' |
| 550 | 550 | * </code> |
| 551 | 551 | * |
| 552 | - * @param mixed $started The value to use as filter. |
|
| 552 | + * @param integer $started The value to use as filter. |
|
| 553 | 553 | * Values can be integers (unix timestamps), DateTime objects, or strings. |
| 554 | 554 | * Empty strings are treated as NULL. |
| 555 | 555 | * Use scalar values for equality. |
@@ -686,7 +686,7 @@ discard block |
||
| 686 | 686 | /** |
| 687 | 687 | * Filter the query by a related \Jalle19\StatusManager\Database\Instance object |
| 688 | 688 | * |
| 689 | - * @param \Jalle19\StatusManager\Database\Instance|ObjectCollection $instance The related object(s) to use as filter |
|
| 689 | + * @param Instance $instance The related object(s) to use as filter |
|
| 690 | 690 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 691 | 691 | * |
| 692 | 692 | * @throws \Propel\Runtime\Exception\PropelException |
@@ -763,7 +763,7 @@ discard block |
||
| 763 | 763 | /** |
| 764 | 764 | * Filter the query by a related \Jalle19\StatusManager\Database\Input object |
| 765 | 765 | * |
| 766 | - * @param \Jalle19\StatusManager\Database\Input|ObjectCollection $input The related object(s) to use as filter |
|
| 766 | + * @param Input $input The related object(s) to use as filter |
|
| 767 | 767 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 768 | 768 | * |
| 769 | 769 | * @throws \Propel\Runtime\Exception\PropelException |
@@ -840,7 +840,7 @@ discard block |
||
| 840 | 840 | /** |
| 841 | 841 | * Filter the query by a related \Jalle19\StatusManager\Database\User object |
| 842 | 842 | * |
| 843 | - * @param \Jalle19\StatusManager\Database\User|ObjectCollection $user The related object(s) to use as filter |
|
| 843 | + * @param User $user The related object(s) to use as filter |
|
| 844 | 844 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 845 | 845 | * |
| 846 | 846 | * @throws \Propel\Runtime\Exception\PropelException |
@@ -917,7 +917,7 @@ discard block |
||
| 917 | 917 | /** |
| 918 | 918 | * Filter the query by a related \Jalle19\StatusManager\Database\Channel object |
| 919 | 919 | * |
| 920 | - * @param \Jalle19\StatusManager\Database\Channel|ObjectCollection $channel The related object(s) to use as filter |
|
| 920 | + * @param Channel $channel The related object(s) to use as filter |
|
| 921 | 921 | * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL |
| 922 | 922 | * |
| 923 | 923 | * @throws \Propel\Runtime\Exception\PropelException |
@@ -251,7 +251,7 @@ |
||
| 251 | 251 | |
| 252 | 252 | |
| 253 | 253 | /** |
| 254 | - * @param $instanceName |
|
| 254 | + * @param string $instanceName |
|
| 255 | 255 | * @param ConnectionStatus $connectionStatus |
| 256 | 256 | * |
| 257 | 257 | * @return bool whether the connection exists in the database |
@@ -37,7 +37,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -37,7 +37,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -37,7 +37,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -37,7 +37,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -360,7 +360,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | |
@@ -369,7 +369,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | |