Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Zend\Server cleanup
Browse files Browse the repository at this point in the history
- Renamed Zend\Server\ServerInterface to simply Zend\Server\Server
- Updated code and tests to reflect the above
  • Loading branch information
weierophinney committed Jul 4, 2010
1 parent 1bd47d3 commit 929991c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/AbstractServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @uses ReflectionClass
* @uses \Zend\Server\Definition
* @uses \Zend\Server\Exception
* @uses \Zend\Server\ServerInterface
* @uses \Zend\Server\Server
* @uses \Zend\Server\Method\Callback
* @uses \Zend\Server\Method\Definition
* @uses \Zend\Server\Method\Parameter
Expand All @@ -40,7 +40,7 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id$
*/
abstract class AbstractServer implements ServerInterface
abstract class AbstractServer implements Server
{
/**
* @deprecated
Expand Down
8 changes: 4 additions & 4 deletions src/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ class Cache
* on success.
*
* @param string $filename
* @param \Zend\Server\ServerInterface $server
* @param \Zend\Server\Server $server
* @return bool
*/
public static function save($filename, ServerInterface $server)
public static function save($filename, Server $server)
{
if (!is_string($filename)
|| (!file_exists($filename) && !is_writable(dirname($filename))))
Expand Down Expand Up @@ -109,10 +109,10 @@ public static function save($filename, ServerInterface $server)
* </code>
*
* @param string $filename
* @param \Zend\Server\ServerInterface $server
* @param \Zend\Server\Server $server
* @return bool
*/
public static function get($filename, ServerInterface $server)
public static function get($filename, Server $server)
{
if (!is_string($filename)
|| !file_exists($filename)
Expand Down
2 changes: 1 addition & 1 deletion src/ServerInterface.php → src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface ServerInterface
interface Server
{
/**
* Attach a function as a server method
Expand Down

0 comments on commit 929991c

Please # to comment.