Fix various code style nuances

This commit is contained in:
Timothy Warren 2015-11-11 15:28:51 -05:00
parent c55f91a79f
commit aee2fa7120
8 changed files with 7 additions and 14 deletions

View File

@ -5,9 +5,7 @@ namespace Aviat\Ion\Di\Exception;
/**
* Generic exception for Di Container
*/
class ContainerException
extends \Exception
implements \Interop\Container\Exception\ContainerException {
class ContainerException extends \Exception implements \Interop\Container\Exception\ContainerException {
}
// End of ContainerException.php

View File

@ -6,9 +6,7 @@ namespace Aviat\Ion\Di\Exception;
* Exception for Di Container when trying to access a
* key that doesn't exist in the container
*/
class NotFoundException
extends ContainerException
implements \Interop\Container\Exception\NotFoundException {
class NotFoundException extends ContainerException implements \Interop\Container\Exception\NotFoundException {
}
// End of NotFoundException.php

View File

@ -114,8 +114,6 @@ class Friend {
{
return NULL;
}
return NULL;
}
}
// End of Friend.php

View File

@ -158,7 +158,7 @@ class ArrayType {
/**
* Return the array, or a key
*
* @param string|integer $key
* @param string|integer|null $key
* @return mixed
*/
public function &get($key = NULL)
@ -189,6 +189,7 @@ class ArrayType {
public function set($key, $value)
{
$this->arr[$key] = $value;
return $this;
}
/**

View File

@ -44,8 +44,6 @@ class HtmlView extends HttpView {
*/
public function render_template($path, $data)
{
$buffer = "";
$data['helper'] = $this->helper;
$data['escape'] = $this->helper->escape();