From c33005fed2f08fbc142ce7a6247628a15a62a2e5 Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Thu, 21 Jul 2011 21:03:39 +0200 Subject: [PATCH] Fixed ServiceDefinition argument and type --- ServiceDefinition/Argument.php | 2 +- ServiceDefinition/Type.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ServiceDefinition/Argument.php b/ServiceDefinition/Argument.php index 87da04f..b1f8849 100644 --- a/ServiceDefinition/Argument.php +++ b/ServiceDefinition/Argument.php @@ -36,7 +36,7 @@ class Argument return $this->type; } - public function setType($type) + public function setType(Type $type) { $this->type = $type; } diff --git a/ServiceDefinition/Type.php b/ServiceDefinition/Type.php index dbf69e5..bf2c1d1 100644 --- a/ServiceDefinition/Type.php +++ b/ServiceDefinition/Type.php @@ -28,9 +28,9 @@ class Type return $this->phpType; } - public function setPhpType($value) + public function setPhpType($phpType) { - $this->phpType = $value; + $this->phpType = $phpType; } public function getXmlType() @@ -38,9 +38,9 @@ class Type return $this->xmlType; } - public function setXmlType($value) + public function setXmlType($xmlType) { - $this->xmlType = $value; + $this->xmlType = $xmlType; } public function getConverter() @@ -48,8 +48,8 @@ class Type return $this->converter; } - public function setConverter($value) + public function setConverter($converter) { - $this->converter = $value; + $this->converter = $converter; } } \ No newline at end of file