1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 02:47:02 +01:00
psalm/tests/fixtures/stubs/namespaced_class.php
orklah ead107fa9e
More return types (#4173)
* add native return types

* redundant phpdoc
2020-09-12 11:24:05 -04:00

28 lines
358 B
PHP

<?php
namespace Foo;
const BAR = 'bat';
class SystemClass
{
const HELLO = 'hello';
/**
* @param int $a
* @param string $b
*
*/
public function foo($a, $b): string
{
}
/**
* @param int $a
* @param string $b
*
*/
public static function bar($a, $b): string
{
}
}