Skip to content

Commit

Permalink
Code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Jan 27, 2015
1 parent af2f9f2 commit 50aeb23
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/Firebase.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ public function delete($location)
/**
* Sends the request and returns the processed response data.
*
* @param string $location The location.
* @param string $method The HTTP method.
* @param string $location The location.
* @param string $method The HTTP method.
* @param array|null $data The data.
*
* @throws FirebaseException
Expand Down Expand Up @@ -160,7 +160,7 @@ private function send($location, $method, array $data = null)
}

/**
* @param ResponseInterface $response
* @param ResponseInterface $response
* @return array|void
*/
private function getResultFromResponse(ResponseInterface $response)
Expand Down
18 changes: 9 additions & 9 deletions src/FirebaseInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@ public function get($location);
/**
* Write or replace data at the given location.
*
* @param array $data
* @param string $location
* @return array The returned data.
* @param array $data
* @param string $location
* @return array The returned data.
*/
public function set(array $data, $location);

/**
* Generates a new child and returns its key.
*
* @param array $data The data to be pushed.
* @param string $location The location to push the new child to.
* @return string The key of the new child.
* @param array $data The data to be pushed.
* @param string $location The location to push the new child to.
* @return string The key of the new child.
*/
public function push(array $data, $location);

/**
* Update the given field(s) at the given location.
*
* @param array $data The fields.
* @param string $location The location.
* @return array The written fields.
* @param array $data The fields.
* @param string $location The location.
* @return array The written fields.
*/
public function update(array $data, $location);

Expand Down

0 comments on commit 50aeb23

Please sign in to comment.