mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
28 lines
358 B
Plaintext
28 lines
358 B
Plaintext
<?php
|
|
namespace Foo;
|
|
|
|
const BAR = 'bat';
|
|
|
|
class SystemClass
|
|
{
|
|
const HELLO = 'hello';
|
|
|
|
/**
|
|
* @param int $a
|
|
* @param string $b
|
|
*
|
|
*/
|
|
public function foo($a, $b): string
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @param int $a
|
|
* @param string $b
|
|
*
|
|
*/
|
|
public static function bar($a, $b): string
|
|
{
|
|
}
|
|
}
|