From 81357da49d12b4be4fa04b75aa50dfcc8de14ec5 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Sun, 18 Aug 2019 22:24:34 +0200 Subject: [PATCH] fix php 5.3 issue --- tests/test-class-activitypub-hashtag.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test-class-activitypub-hashtag.php b/tests/test-class-activitypub-hashtag.php index eda1424..e3e7a5d 100644 --- a/tests/test-class-activitypub-hashtag.php +++ b/tests/test-class-activitypub-hashtag.php @@ -16,11 +16,11 @@ class Test_Activitypub_Hashtag extends WP_UnitTestCase { public function the_content_provider() { $object_link = get_tag_link( 'object' ); - return [ - [ 'test', 'test' ], - [ '#test', '#test' ], - [ 'hallo #test test', 'hallo #test test' ], - [ 'hallo #object test', 'hallo test' ], - ]; + return array( + array( 'test', 'test' ), + array( '#test', '#test' ), + array( 'hallo #test test', 'hallo #test test' ), + array( 'hallo #object test', 'hallo test' ), + ); } }