Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
Dwoo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Common
Dwoo
Commits
282fd046
Commit
282fd046
authored
Jul 15, 2010
by
Jordi Boggiano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The rest parameter shouldn't be added twice
parent
e76c16b3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Compiler.php
lib/Dwoo/Compiler.php
+1
-0
No files found.
lib/Dwoo/Compiler.php
View file @
282fd046
...
@@ -3134,6 +3134,7 @@ class Dwoo_Compiler implements Dwoo_ICompiler
...
@@ -3134,6 +3134,7 @@ class Dwoo_Compiler implements Dwoo_ICompiler
}
}
if
(
$param
->
getName
()
===
'rest'
&&
$param
->
isArray
()
===
true
)
{
if
(
$param
->
getName
()
===
'rest'
&&
$param
->
isArray
()
===
true
)
{
$out
[]
=
array
(
'*'
,
$param
->
isOptional
(),
null
);
$out
[]
=
array
(
'*'
,
$param
->
isOptional
(),
null
);
continue
;
}
}
$out
[]
=
array
(
$param
->
getName
(),
$param
->
isOptional
(),
$param
->
isOptional
()
?
$param
->
getDefaultValue
()
:
null
);
$out
[]
=
array
(
$param
->
getName
(),
$param
->
isOptional
(),
$param
->
isOptional
()
?
$param
->
getDefaultValue
()
:
null
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment