@@ -31,7 +31,6 @@ |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * Exibe o conteúdo HTML do alerta |
| 34 | - * @param Alert $alert |
|
| 35 | 34 | */ |
| 36 | 35 | public function load() { |
| 37 | 36 | $block = new Block('layout/html/alert', ['alert' => $this]); |
@@ -30,7 +30,6 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * Cria o diretório para salvar a imagem |
| 33 | - * @param string $pathetorio Caminho do novo diretório |
|
| 34 | 33 | * @param int $chmod permissões deste diretório |
| 35 | 34 | * @return boolean Retorna TRUE caso obtenha algum sucesso |
| 36 | 35 | */ |
@@ -64,7 +63,6 @@ discard block |
||
| 64 | 63 | |
| 65 | 64 | /** |
| 66 | 65 | * Exclui o diretório e os arquivos dentro dele |
| 67 | - * @param string $path |
|
| 68 | 66 | * @return boolean |
| 69 | 67 | */ |
| 70 | 68 | public function remove() { |
@@ -41,11 +41,11 @@ |
||
| 41 | 41 | |
| 42 | 42 | $app->controller->setTitle('My Custom Test Title'); |
| 43 | 43 | |
| 44 | - $app->view->addData('title','My Custom Test Title'); |
|
| 45 | - $this->assertEquals('My Custom Test Title' , $app->view->getTitle()); |
|
| 44 | + $app->view->addData('title', 'My Custom Test Title'); |
|
| 45 | + $this->assertEquals('My Custom Test Title', $app->view->getTitle()); |
|
| 46 | 46 | |
| 47 | 47 | $app->pageNotFound(); |
| 48 | - $this->assertNotEquals('My Custom Test Title' , $app->view->getTitle()); |
|
| 48 | + $this->assertNotEquals('My Custom Test Title', $app->view->getTitle()); |
|
| 49 | 49 | |
| 50 | 50 | |
| 51 | 51 | } |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | public function getTitle() { |
| 76 | - if (empty($this->getData('title'))){ |
|
| 76 | + if (empty($this->getData('title'))) { |
|
| 77 | 77 | $this->addData('title', Title::otimize(ucwords(str_replace('-', ' ', $this->app->getPage())))); |
| 78 | 78 | } |
| 79 | 79 | return $this->getData('title'); |