mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 19:07:00 +01:00
24 lines
301 B
PHP
24 lines
301 B
PHP
<?php
|
|
namespace Acme\SampleProject;
|
|
|
|
function foo(string $s): int
|
|
{
|
|
return 'bar';
|
|
}
|
|
|
|
function bar(string $s) : string {
|
|
return $s;
|
|
}
|
|
|
|
function baz(string $s) : string {
|
|
return $s;
|
|
}
|
|
|
|
function bat(string $s) : string {
|
|
return $s;
|
|
}
|
|
|
|
function bang(string $s) : string {
|
|
return $s;
|
|
}
|