Skip to content

Commit

Permalink
PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel O'Connor committed Sep 9, 2011
1 parent e160d49 commit 0439a62
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 5 deletions.
4 changes: 4 additions & 0 deletions SCA/Bindings/jsonrpc/Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ class SCA_Bindings_Jsonrpc_Proxy
/**
* Constructor - create a JRON RPC proxy based on the full pathname of
* an SMD file
*
* @param string $target Target URI
* @param string $base_path_for_relative_paths Base path
* @param string $binding_config Config
*/
public function __construct($target, $base_path_for_relative_paths, $binding_config)
{
Expand Down
2 changes: 2 additions & 0 deletions SCA/Bindings/jsonrpc/SCA_JsonRpcServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ class SCA_JsonRpcServer
/**
* Constructor - create a JSON RPC server to call the
* provided service wrapper
*
* @param mixed $wrapper Wrapper
*/
public function __construct($wrapper)
{
Expand Down
7 changes: 7 additions & 0 deletions SCA/Bindings/jsonrpc/SCA_ServiceWrapperJson.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ public function getJsonDas()
return $this->json_das;
}

/**
* Determine parameters for method
*
* @param string $method_name method to call
*
* @return mixed
*/
public function getParametersForMethod($method_name)
{
$reader = new SCA_AnnotationReader($this->instance_of_the_base_class);
Expand Down
6 changes: 3 additions & 3 deletions SCA/Bindings/local/Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
* | Simon Laws |
* +-----------------------------------------------------------------------------+
* $Id: Proxy.php 238265 2007-06-22 14:32:40Z mfp $
*
*
* PHP Version 5
*
*
* @category SCA_SDO
* @package SCA_SDO
* @author Matthew Peters <[email protected]>
Expand Down Expand Up @@ -96,7 +96,7 @@ public function __construct($target, $base_path_for_relative_paths, $binding_con
* moment.
*
* @param mixed $reference_type Reference Type
*
*
* @return null
*/
public function addReferenceType($reference_type)
Expand Down
6 changes: 6 additions & 0 deletions SCA/Bindings/message/Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ public function addReferenceType($reference_type)
//SCA::$logger->log('entering');
}

/**
* @param string $namespace_uri Namespace identifying the xsd
* @param string $type_name Element being reference in the xsd
*
* @return object Empty Data Object structure
*/
public function createDataObject($namespace_uri, $type_name)
{
try {
Expand Down
3 changes: 2 additions & 1 deletion SCA/Bindings/message/SAM_Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ class SCA_Bindings_message_SAMClient

/**
* Constructor -
*
* @param $wrapper instance of the wrapper
* which should implement an onMessage method
* which should implement an onMessage method
*/
public function __construct($wrapper)
{
Expand Down
2 changes: 1 addition & 1 deletion SCA/SCA.php
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ public static function constructServiceDescription($class_file)
*
* @return object Empty Data Object structure
*/
public static function createDataObject($namespace_uri, $type_name )
public static function createDataObject($namespace_uri, $type_name)
{
// Find out who/what called this function so that the type annotations
// that define the xml used to create a 'das' can be scanned.
Expand Down

0 comments on commit 0439a62

Please sign in to comment.