* @return string
*/
public function getName() {
- return str_replace( 'WebInstaller', '', get_class( $this ) );
+ return str_replace( 'WebInstaller', '', static::class );
}
/**
/**
* @param string $var
- * @param mixed $default
+ * @param mixed|null $default
*
* @return mixed
*/