Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
Docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
johanjanssens committed May 3, 2016
1 parent c185830 commit 2d85e29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion code/controller/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected function _initialize(ObjectConfig $config)
{
$config->append(array(
'toolbars' => array($this->getIdentifier()->name),
'model' => $this->getIdentifier()->name,
'model' => $this->getIdentifier()->name,
));

parent::_initialize($config);
Expand Down
7 changes: 4 additions & 3 deletions code/dispatcher/dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ protected function _resolveRequest(DispatcherContextInterface $context)
* @param DispatcherContextInterface $context A dispatcher context object
* @return mixed
*/
protected function _actionDispatch(DispatcherContextInterface $context)
{
protected function _actionDispatch(DispatcherContextInterface $context)
{
$controller = $this->getController();

if(!$controller instanceof ControllerViewable && !$controller instanceof ControllerModellable)
Expand Down Expand Up @@ -354,7 +354,8 @@ protected function _actionOptions(DispatcherContextInterface $context)
*
* - Add an Allow header to the response if the status code is 405 METHOD NOT ALLOWED.
*
* {@inheritdoc}
* @param DispatcherContextInterface $context A dispatcher context object
* @return mixed
*/
protected function _actionSend(DispatcherContextInterface $context)
{
Expand Down

0 comments on commit 2d85e29

Please sign in to comment.