mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
22 lines
336 B
PHP
22 lines
336 B
PHP
|
<?php
|
||
|
|
||
|
namespace Foo;
|
||
|
|
||
|
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) {}
|
||
|
}
|