-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
bumped min version of Twig to 1.28 #20484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,9 @@ public function getName(Profile $profile, $panel) | |
* | ||
* @param Profile $profile | ||
* | ||
* @return array | ||
* @return Twig_Template[] | ||
* | ||
* @deprecated not used anymore internally | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shouldn't it throw a deprecation warning ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed, but not in Symfony 2.7. This must be added after merging this to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agreed with @xabbuh, but this class should probably be marked as being internal as well in master. |
||
*/ | ||
public function getTemplates(Profile $profile) | ||
{ | ||
|
@@ -88,7 +90,7 @@ public function getTemplates(Profile $profile) | |
* | ||
* @throws \UnexpectedValueException | ||
*/ | ||
protected function getNames(Profile $profile) | ||
public function getNames(Profile $profile) | ||
{ | ||
$templates = array(); | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getNames()
must becomepublic
thenThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure :)