Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 47c3ed3

Browse filesBrowse files
committed
Don't rely on deprecated strategy constants
1 parent 1e726d8 commit 47c3ed3
Copy full SHA for 47c3ed3

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
{% for voter_detail in decision.voter_details %}
408408
<tr>
409409
<td class="font-normal">{{ profiler_dump(voter_detail['class']) }}</td>
410-
{% if collector.voterStrategy == constant('Symfony\\Component\\Security\\Core\\Authorization\\AccessDecisionManager::STRATEGY_UNANIMOUS') %}
410+
{% if collector.voterStrategy == 'unanimous' %}
411411
<td class="font-normal text-small">attribute {{ voter_detail['attributes'][0] }}</td>
412412
{% endif %}
413413
<td class="font-normal text-small">

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.