]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added missing type-hint for StartShowHTML hook
authorRoland Haeder <roland@mxchange.org>
Mon, 25 Jan 2016 14:41:05 +0000 (15:41 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:21:31 +0000 (00:21 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/Linkback/LinkbackPlugin.php

index f44a11ac64451ef08d3925b70d93493f61795f20..6f929faaf7a4a9a6922f7ac8f57ac8505354b3cc 100644 (file)
@@ -344,7 +344,7 @@ class LinkbackPlugin extends Plugin
                     ['action' => 'pingback']);
     }
 
-    public function onStartShowHTML($action)
+    public function onStartShowHTML(Action $action)
     {
         header('Link: <' . common_local_url('webmention') . '>; rel="webmention"', false);
         header('X-Pingback: ' . common_local_url('pingback'));