mirror of
https://github.com/danog/psalm.git
synced 2024-12-16 19:36:59 +01:00
30 lines
386 B
PHP
30 lines
386 B
PHP
<?php
|
|
namespace Foo;
|
|
|
|
const BAR = 'bat';
|
|
|
|
class SystemClass
|
|
{
|
|
const HELLO = 'hello';
|
|
|
|
/**
|
|
* @param int $a
|
|
* @param string $b
|
|
*
|
|
* @return string
|
|
*/
|
|
public function foo($a, $b)
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @param int $a
|
|
* @param string $b
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function bar($a, $b)
|
|
{
|
|
}
|
|
}
|