|  | @@ -47,7 +47,7 @@ class syntax_plugin_socialite_button extends DokuWiki_Syntax_Plugin {
 | 
	
		
			
				|  |  |       * @param Doku_Handler    $handler The handler
 | 
	
		
			
				|  |  |       * @return array Data for the renderer
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  | -    public function handle($match, $state, $pos, Doku_Handler &$handler){
 | 
	
		
			
				|  |  | +    public function handle($match, $state, $pos, Doku_Handler $handler){
 | 
	
		
			
				|  |  |          $match = strtolower(trim(substr($match, 11, -2))); // strip markup
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          // checks if a display mode is passed
 | 
	
	
		
			
				|  | @@ -75,7 +75,7 @@ class syntax_plugin_socialite_button extends DokuWiki_Syntax_Plugin {
 | 
	
		
			
				|  |  |       * @param array          $data      The data from the handler() function
 | 
	
		
			
				|  |  |       * @return bool If rendering was successful.
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  | -    public function render($mode, Doku_Renderer &$renderer, $data) {
 | 
	
		
			
				|  |  | +    public function render($mode, Doku_Renderer $renderer, $data) {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if($mode != 'xhtml') return false;
 | 
	
		
			
				|  |  |  
 |