Skip to content

Commit cc00fea

Browse files
author
Stephane Martarello
committed
Fixed signature for php 8
1 parent 130a6e0 commit cc00fea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/lib/collection/PropelOnDemandCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function prepend($value)
155155
throw new PropelException('The On Demand Collection is read only');
156156
}
157157

158-
public function asort()
158+
public function asort($flags = SORT_REGULAR)
159159
{
160160
throw new PropelException('The On Demand Collection is read only');
161161
}
@@ -175,7 +175,7 @@ public function getFlags()
175175
throw new PropelException('The On Demand Collection does not allow acces by offset');
176176
}
177177

178-
public function ksort()
178+
public function ksort($flags = SORT_REGULAR)
179179
{
180180
throw new PropelException('The On Demand Collection is read only');
181181
}

0 commit comments

Comments
 (0)