aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/updater/DummyUpdater.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-29 15:00:11 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-29 18:57:22 +0200
commitab58f2542072e6bf34acd862f6cfed84b33feb29 (patch)
treea773a2ad2b98cd8e68c6f3c45c294e036cf3bd41 /tests/updater/DummyUpdater.php
parenta5a9cf23acd1248585173aa32757d9720b5f2d62 (diff)
downloadShaarli-ab58f2542072e6bf34acd862f6cfed84b33feb29.tar.gz
Shaarli-ab58f2542072e6bf34acd862f6cfed84b33feb29.tar.zst
Shaarli-ab58f2542072e6bf34acd862f6cfed84b33feb29.zip
Compatibility with PHP 8
Diffstat (limited to 'tests/updater/DummyUpdater.php')
-rw-r--r--tests/updater/DummyUpdater.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/updater/DummyUpdater.php b/tests/updater/DummyUpdater.php
index 07c7f5c4..3403233f 100644
--- a/tests/updater/DummyUpdater.php
+++ b/tests/updater/DummyUpdater.php
@@ -37,7 +37,7 @@ class DummyUpdater extends Updater
37 * 37 *
38 * @return bool true. 38 * @return bool true.
39 */ 39 */
40 final private function updateMethodDummy1() 40 final protected function updateMethodDummy1()
41 { 41 {
42 return true; 42 return true;
43 } 43 }
@@ -47,7 +47,7 @@ class DummyUpdater extends Updater
47 * 47 *
48 * @return bool true. 48 * @return bool true.
49 */ 49 */
50 final private function updateMethodDummy2() 50 final protected function updateMethodDummy2()
51 { 51 {
52 return true; 52 return true;
53 } 53 }
@@ -57,7 +57,7 @@ class DummyUpdater extends Updater
57 * 57 *
58 * @return bool true. 58 * @return bool true.
59 */ 59 */
60 final private function updateMethodDummy3() 60 final protected function updateMethodDummy3()
61 { 61 {
62 return true; 62 return true;
63 } 63 }
@@ -67,7 +67,7 @@ class DummyUpdater extends Updater
67 * 67 *
68 * @throws Exception error. 68 * @throws Exception error.
69 */ 69 */
70 final private function updateMethodException() 70 final protected function updateMethodException()
71 { 71 {
72 throw new Exception('whatever'); 72 throw new Exception('whatever');
73 } 73 }