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...
71
}
72
73
/**
74
* @param string $data
75
*
76
* @return \drupol\phpvfs\Node\FileInterface
77
*/
78
1
public function write(string $data): FileInterface