$processedFileResult->getFileName() of type string is incompatible with the type integer|null expected by parameter $id of Fhaculty\Graph\Graph::createVertex().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation