{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "cd \/var\/www\/dev.campus.systemische-tools.de && \/opt\/php-tools\/vendor\/bin\/phpstan analyse src\/Infrastructure\/Persistence\/ContentOrderRepository.php src\/Infrastructure\/Persistence\/ContentRepository.php src\/Controller\/ContentController.php src\/Domain\/Repository\/ContentRepositoryInterface.php src\/UseCases\/Command\/CreateContentOrderCommand.php --level=5 --no-progress 2>&1 | head -60",
"description": "PHPStan analysis on modified files"
}
}
{
"tool_response": {
"stdout": "Note: Using configuration file \/var\/www\/dev.campus.systemische-tools.de\/phpstan.neon.\n ------ ----------------------------------------------------------------------- \n Line Infrastructure\/Persistence\/ContentRepository.php \n ------ ----------------------------------------------------------------------- \n 47 Method \n Infrastructure\\Persistence\\ContentRepository::getLastOrderSettings() \n should return array{model: string, collections: array<string>, contex \n t_limit: int, author_profile_id: int|null, contract_id: int|null, \n structure_id: int|null, temperature: float, max_tokens: int, ...} but \n returns array{model: string, collections: array<string>, context_limi \n t: int, author_profile_id: int|null, contract_id: int|null, \n structure_id: int|null}. \n 🪪 return.type \n 💡 Array does not have offset 'temperature'. \n ------ ----------------------------------------------------------------------- \n\n\n [ERROR] Found 1 error",
"stderr": "",
"interrupted": false,
"isImage": false
}
}