@@ -924,10 +924,10 @@ protected function compareRecords($a, $b)
924
924
* Saves all records of this collection and processes the
925
925
* difference of the last snapshot and the current data
926
926
*
927
- * @param Doctrine_Connection $conn optional connection parameter
927
+ * @param Doctrine_Connection|null $conn optional connection parameter
928
928
* @return Doctrine_Collection
929
929
*/
930
- public function save (Doctrine_Connection $ conn = null , $ processDiff = true )
930
+ public function save (? Doctrine_Connection $ conn = null , $ processDiff = true )
931
931
{
932
932
if ($ conn == null ) {
933
933
$ conn = $ this ->_table ->getConnection ();
@@ -959,10 +959,10 @@ public function save(Doctrine_Connection $conn = null, $processDiff = true)
959
959
* Replaces all records of this collection and processes the
960
960
* difference of the last snapshot and the current data
961
961
*
962
- * @param Doctrine_Connection $conn optional connection parameter
962
+ * @param Doctrine_Connection|null $conn optional connection parameter
963
963
* @return Doctrine_Collection
964
964
*/
965
- public function replace (Doctrine_Connection $ conn = null , $ processDiff = true )
965
+ public function replace (? Doctrine_Connection $ conn = null , $ processDiff = true )
966
966
{
967
967
if ($ conn == null ) {
968
968
$ conn = $ this ->_table ->getConnection ();
@@ -995,7 +995,7 @@ public function replace(Doctrine_Connection $conn = null, $processDiff = true)
995
995
*
996
996
* @return Doctrine_Collection
997
997
*/
998
- public function delete (Doctrine_Connection $ conn = null , $ clearColl = true )
998
+ public function delete (? Doctrine_Connection $ conn = null , $ clearColl = true )
999
999
{
1000
1000
if ($ conn == null ) {
1001
1001
$ conn = $ this ->_table ->getConnection ();
0 commit comments