Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
LeanMapper Workflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Mpro
LeanMapper Workflow
Commits
1efb97e1
Commit
1efb97e1
authored
Jun 17, 2014
by
Mpro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oprava var_export pro Restriction, ktera ma nekonecnou rekurzi
parent
020293c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Repository.php
src/LeanMapperWorkflow/Repository.php
+5
-1
No files found.
src/LeanMapperWorkflow/Repository.php
View file @
1efb97e1
...
...
@@ -39,7 +39,11 @@ class Repository extends AbstractRepository
if
(
is_callable
(
$notFoundCallback
))
{
$notFoundCallback
(
$id
);
}
else
{
throw
new
InvalidArgumentException
(
'Not found: '
.
var_export
(
$id
,
TRUE
));
if
(
$id
instanceof
Restriction
)
{
throw
new
InvalidArgumentException
(
'Not found'
);
}
else
{
throw
new
InvalidArgumentException
(
'Not found: '
.
var_export
(
$id
,
TRUE
));
}
}
}
...
...
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