The expression return $this->getAttribute('content') could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
70
}
71
72
/**
73
* @param string $data
74
*
75
* @return \drupol\phpvfs\Node\FileInterface
76
*/
77
1
public function write(string $data): FileInterface