Skip to content

Presenter::$layout can be either string or null#233

Open
mabar wants to merge 1 commit intonette:masterfrom
mabar:patch-3
Open

Presenter::$layout can be either string or null#233
mabar wants to merge 1 commit intonette:masterfrom
mabar:patch-3

Conversation

@mabar
Copy link
Contributor

@mabar mabar commented Sep 19, 2019

  • bug fix? yes
  • BC break? no

It was not really string|bool but string|false|null, which kinda surprised me when I was implementing own layout finder

This variant is the only one I found which simplifies problem and does not break default implementation. Not sure about custom ones.

Alternative variant is change of annotation to string|false|null, but it's ugly.

@dg dg added this to the v3.1 milestone Sep 24, 2019
@dg dg force-pushed the master branch 7 times, most recently from 7e42997 to f7df426 Compare October 21, 2019 19:23
@dg dg force-pushed the master branch 4 times, most recently from 0e26720 to e65cf05 Compare November 19, 2019 19:03
@dg dg force-pushed the master branch 3 times, most recently from 7fe78c1 to 8f1bb54 Compare December 11, 2019 19:32
@dg dg force-pushed the master branch 13 times, most recently from c8eff84 to 447af2d Compare January 6, 2020 12:28
@dg dg force-pushed the master branch 5 times, most recently from 4317004 to 178b74c Compare January 16, 2020 16:57
@dg dg force-pushed the master branch 8 times, most recently from 84cecc4 to da24ae5 Compare January 22, 2020 21:39
@dg dg force-pushed the master branch 15 times, most recently from 95a824c to 049d171 Compare March 10, 2020 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants