mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
24 lines
356 B
PHP
24 lines
356 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) {}
|
|
}
|