.NET & PHP fixes

Return on setter for PHP and correction for .NET example