A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/phan/phan/issues/670 below:

Properly warn when a real method has an incompatible signature with a magic @method · Issue #670 · phan/phan · GitHub

Part of the work for #660

Seen in a class overriding \Symfony\Component\HttpKernel\Client (While performing the checks analyzeOverrideRealSignature) - The magic @method has no "real" type

A solution is to store whether this method is only defined as a magic method in a base class, and to convert this to an UnanalyzableException

Add a new warning type (PhanParamMagicSignatureMismatch?) for method declarations which override a method that are as @method, and have incompatible param/return types


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4