Skip to content

Commit 0150f44

Browse files
author
Hugo Chinchilla Carbonell
committed
make sfParameterResolver compatible with php 5
1 parent 9423cfa commit 0150f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/action/sfParameterResolver.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected function resolveParams($actionToRun)
3232

3333
$parameters = [];
3434
foreach ($method->getParameters() as $i => $param) {
35-
$type = $param->getType();
35+
$type = $param->getClass();
3636

3737
// handle case where request parameter was not type hinted
3838
if (null === $type && $i === 0) {

0 commit comments

Comments
 (0)