1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00
psalm/tests/fixtures/stubs/namespaced_class.phpstub

28 lines
358 B
PHP
Raw Normal View History

<?php
namespace Foo;
2019-03-23 19:27:54 +01:00
const BAR = 'bat';
2019-03-23 19:27:54 +01:00
class SystemClass
{
const HELLO = 'hello';
/**
* @param int $a
* @param string $b
2019-03-23 19:27:54 +01:00
*
*/
public function foo($a, $b): string
2019-03-23 19:27:54 +01:00
{
}
/**
* @param int $a
* @param string $b
2019-03-23 19:27:54 +01:00
*
*/
public static function bar($a, $b): string
2019-03-23 19:27:54 +01:00
{
}
}