[PHP][Symfony] Further enhancements (#7001)

* Further enchancements for PHP-Symfony. Fixes issues described in #6999

* Ran shell script to update petstore sample
This commit is contained in:
naelrashdeen
2017-11-27 09:25:50 +01:00
committed by William Cheng
parent a565a94a06
commit 5d59dd10ec
19 changed files with 165 additions and 122 deletions

View File

@@ -203,7 +203,7 @@ class Pet
*
* @return $this
*/
public function setPhotoUrls(array $photoUrls)
public function setPhotoUrls($photoUrls)
{
$this->photoUrls = $photoUrls;
@@ -227,7 +227,7 @@ class Pet
*
* @return $this
*/
public function setTags(array $tags = null)
public function setTags(Tag $tags = null)
{
$this->tags = $tags;