Skip to content

Commit bb9b31d

Browse files
committed
Code style fixes.
1 parent 5b9f53f commit bb9b31d

2 files changed

Lines changed: 4 additions & 12 deletions

File tree

src/Command/Command.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,10 @@ protected function configureLogging(OutputInterface $output)
8181
}
8282
}
8383

84-
/**
85-
* @param InputInterface $input
86-
* @param OutputInterface $output
87-
*
88-
* @return int
89-
*/
9084
protected function execute(
9185
InputInterface $input,
9286
OutputInterface $output
93-
) {
87+
): int {
9488
$this->configureLogging($output);
9589

9690
return 0;

src/Controller/ProjectController.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,6 @@ protected function getPaginatorHtml(
191191
* @param int $projectId
192192
*
193193
* @throws NotFoundException
194-
*
195-
* @return RedirectResponse
196-
*
197194
*/
198195
public function build($projectId): RedirectResponse
199196
{
@@ -365,8 +362,9 @@ public function add()
365362
$this->layout->title = Lang::get('add_project');
366363
$this->requireAdmin();
367364

368-
$method = $this->request->getMethod();
369-
$values = $this->request->request->all();;
365+
$method = $this->request->getMethod();
366+
$values = $this->request->request->all();
367+
370368
$values['default_branch'] = null;
371369

372370
if ($method !== 'POST') {

0 commit comments

Comments
 (0)