Skip to content

Clean up some docs for 4.x#6009

Merged
markstory merged 2 commits into
4.xfrom
cleanup
Apr 5, 2019
Merged

Clean up some docs for 4.x#6009
markstory merged 2 commits into
4.xfrom
cleanup

Conversation

@markstory

Copy link
Copy Markdown
Member
  • Fix version numbers.
  • Remove duplicate content for requests/responses.
  • Fix middleware() hook signatures.
  • Fix plugin middleware example.
  • Remove outdated warning for http/client.

* Fix version numbers.
* Remove duplicate content for requests/responses.
* Fix middleware() hook signatures.
* Fix plugin middleware example.
* Remove outdated warning for http/client.
@markstory markstory added this to the 4.x milestone Apr 4, 2019
Comment thread en/controllers/middleware.rst Outdated
class Application extends BaseApplication
{
public function middleware($middlewareQueue)
public function middleware(MiddlewareQueue $middleware): MiddlewareQueue

@dereuromark dereuromark Apr 4, 2019

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cant we keep the Queue prefix for clarity?
$middleware->add(Middleware) sounds wrong to me.
no inception please :P

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I was trying to pare down the line lengths.

**src/Template/Articles/view.php** add the line as shown::

<!-- File: src/Template/Articles/view.ctp -->
<!-- File: src/Template/Articles/view.php -->

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

templates/Articles now right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, missed that as I was focused on ctp.

Comment thread en/installation.rst
@markstory markstory merged commit 31b9649 into 4.x Apr 5, 2019
@markstory markstory deleted the cleanup branch April 5, 2019 01:55
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.

3 participants