1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 10:57:08 +01:00
psalm/docs/running_psalm/issues/Trace.md

190 B

Trace

Not really an issue. Just reports type of the variable.

<?php

/** @psalm-trace $x */
$x = getmypid();

How to fix

Use it for debugging purposes, not for production