for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BestServedCold\HTMLBuilder\Html\Node;
use BestServedCold\HTMLBuilder\Html\Node;
/**
* Class Override
*
* @package BestServedCold\HTMLBuilder\Html\Node
*/
trait Override
{
* @param string $string
* @param string|null $type
* @return Node
public function data($string, $type = null)
$type = $type ? 'data-' . $type : 'data';
return $this->attribute($type, $string);
attribute()
BestServedCold\HTMLBuilder\Html\Node\Override
contentAttribute()
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.
}
* @param string|null $string
public function acceptcharset($string = null)
return $this->attribute('accept-charset', $string);
* @param null $value
public function contentAttribute($value = null)
return $this->attribute('content', $value);
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.