for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare( strict_types = 1 );
namespace Maps\DataAccess\GeoJsonStore;
use Title;
class SubObjectBuilder {
private $subjectPage;
public function __construct( Title $subjectPage ) {
$this->subjectPage = $subjectPage;
}
/**
* @return SubObject[]
*/
public function getSubObjectsFromGeoJson( string $geoJson ) {
$geoJson
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return [ ];
private function pointToSubobject(): SubObject {
$subObject = new SubObject( 'MySubobjectName' );
$subObject->addPropertyValuePair(
'HasNumber',
new \SMWDINumber( 455 )
);
new \SMWDINumber( 4555 )
return $subObject;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.