mirror of
https://github.com/danog/psalm.git
synced 2024-12-12 09:19:40 +01:00
20 lines
320 B
PHP
20 lines
320 B
PHP
<?php
|
|
|
|
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) {}
|
|
}
|