Blending with the new features in version 7+: Return Type Declarations
Posted onCorrespondingly to the argument type statements, give type statements that indicate the type of output to be brought back from a methods. Noteworthy, is that fact that similar types are put back as results for return type declarations and presently for argument type statements. For instance: </pre> <?php class Item { private $id; public function […]