Skip to content
mir
Search
Ctrl
K
Cancel
GitHub
Auto
Dark
Light
Auto
Menu
Introduction
Why mir?
Playground
Guides
Getting Started
Configuration
Migrating to mir
Reference
CLI
Issues
All issues
Error codes
Docblock Annotations
Suppressions
Architecture
Changelog
GitHub
Auto
Dark
Light
Auto
Playground
Examples…
Type mismatch
Undefined method
Null method call
Array access
Dead code
Taint (SQL)
Generics
Controller
PHP 8.5
PHP 8.1
PHP 8.2
PHP 8.3
PHP 8.4
PHP 8.5
PHP 8.6
Loading…
Share
mir v0.101.0 · 7d0fea3
1
<?php function add(int $a, int $b): int { return $a + $b; } $result = add("not a number", 42);