@@ -55,8 +55,8 @@ |
||
55 | 55 | public function test_plugin_backlinks_isloaded(): void { |
56 | 56 | global $plugin_controller; |
57 | 57 | $this->assertTrue( |
58 | - in_array('backlinks', $plugin_controller->getList()), |
|
59 | - "backlinks plugin is loaded" |
|
60 | - ); |
|
58 | + in_array('backlinks', $plugin_controller->getList()), |
|
59 | + "backlinks plugin is loaded" |
|
60 | + ); |
|
61 | 61 | } |
62 | 62 | } |
@@ -108,12 +108,12 @@ |
||
108 | 108 | if (stripos($filterNS, "!", 0) === 0) { |
109 | 109 | $filterNS = substr($filterNS, 1); |
110 | 110 | dbglog($filterNS, "backlinks: exluding all of namespace: $filterNS"); |
111 | - $backlinks = array_filter($backlinks, function ($ns) use ($filterNS) { |
|
111 | + $backlinks = array_filter($backlinks, function($ns) use ($filterNS) { |
|
112 | 112 | return stripos($ns, $filterNS, 0) !== 0; |
113 | 113 | }); |
114 | 114 | } else { |
115 | 115 | dbglog($filterNS, "backlinks: including namespace: $filterNS only"); |
116 | - $backlinks = array_filter($backlinks, function ($ns) use ($filterNS) { |
|
116 | + $backlinks = array_filter($backlinks, function($ns) use ($filterNS) { |
|
117 | 117 | return stripos($ns, $filterNS, 0) === 0; |
118 | 118 | }); |
119 | 119 | } |