@@ -924,10 +924,10 @@ protected function compareRecords($a, $b)
924924 * Saves all records of this collection and processes the
925925 * difference of the last snapshot and the current data
926926 *
927- * @param Doctrine_Connection $conn optional connection parameter
927+ * @param Doctrine_Connection|null $conn optional connection parameter
928928 * @return Doctrine_Collection
929929 */
930- public function save (Doctrine_Connection $ conn = null , $ processDiff = true )
930+ public function save (? Doctrine_Connection $ conn = null , $ processDiff = true )
931931 {
932932 if ($ conn == null ) {
933933 $ conn = $ this ->_table ->getConnection ();
@@ -959,10 +959,10 @@ public function save(Doctrine_Connection $conn = null, $processDiff = true)
959959 * Replaces all records of this collection and processes the
960960 * difference of the last snapshot and the current data
961961 *
962- * @param Doctrine_Connection $conn optional connection parameter
962+ * @param Doctrine_Connection|null $conn optional connection parameter
963963 * @return Doctrine_Collection
964964 */
965- public function replace (Doctrine_Connection $ conn = null , $ processDiff = true )
965+ public function replace (? Doctrine_Connection $ conn = null , $ processDiff = true )
966966 {
967967 if ($ conn == null ) {
968968 $ conn = $ this ->_table ->getConnection ();
@@ -995,7 +995,7 @@ public function replace(Doctrine_Connection $conn = null, $processDiff = true)
995995 *
996996 * @return Doctrine_Collection
997997 */
998- public function delete (Doctrine_Connection $ conn = null , $ clearColl = true )
998+ public function delete (? Doctrine_Connection $ conn = null , $ clearColl = true )
999999 {
10001000 if ($ conn == null ) {
10011001 $ conn = $ this ->_table ->getConnection ();
0 commit comments