]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Console/ConsoleTest.php
Fix ApiResponseTest
[friendica.git] / tests / src / Console / ConsoleTest.php
index 724163d6ff0552968b074fd313abcc000a7493a8..a4315452dfd3c6e70fcd8b89890877c8e675d722 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -32,7 +32,7 @@ abstract class ConsoleTest extends MockedTest
         */
        protected $consoleArgv = [ 'consoleTest.php' ];
 
-       protected function setUp()
+       protected function setUp() : void
        {
                parent::setUp();
 
@@ -46,7 +46,7 @@ abstract class ConsoleTest extends MockedTest
         *
         * @return string the output of the execution
         */
-       protected function dumpExecute($console)
+       protected function dumpExecute(Console $console)
        {
                Intercept::reset();
                $console->execute();