OSDN Git Service
(root)
/
php-libraries
/
Router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a3429a
)
Modify local variable names
author
malukenho
<admin@phpse.net>
Wed, 28 Oct 2015 10:38:09 +0000
(07:38 -0300)
committer
malukenho
<admin@phpse.net>
Sat, 31 Jan 2015 10:38:43 +0000
(07:38 -0300)
src/PHPRouter/RouteCollection.php
patch
|
blob
|
history
diff --git
a/src/PHPRouter/RouteCollection.php
b/src/PHPRouter/RouteCollection.php
index
7637531
..
76e08f4
100755
(executable)
--- a/
src/PHPRouter/RouteCollection.php
+++ b/
src/PHPRouter/RouteCollection.php
@@
-27,11
+27,11
@@
class RouteCollection extends \SplObjectStorage
*/
\r
public function all()
\r
{
\r
- $
_tmp = array()
;
\r
- foreach ($this as $
objectValue
) {
\r
- $
_tmp[] = $objectValue
;
\r
+ $
temp = []
;
\r
+ foreach ($this as $
router
) {
\r
+ $
temp[] = $router
;
\r
}
\r
\r
- return $
_t
mp;
\r
+ return $
te
mp;
\r
}
\r
}
\r