Skip to content

Commit

Permalink
Docblock improvement.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jul 19, 2013
1 parent 2f1f7e2 commit 87c7855
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 31 deletions.
1 change: 0 additions & 1 deletion src/Orchestra/Memory/Console/MemoryCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public function fire()
/**
* Fire migration process.
*
* @access protected
* @return void
*/
protected function fireMigration()
Expand Down
2 changes: 0 additions & 2 deletions src/Orchestra/Memory/Drivers/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class Cache extends Driver {
/**
* Load the data from database using Cache.
*
* @access public
* @return void
*/
public function initiate()
Expand All @@ -24,7 +23,6 @@ public function initiate()
/**
* Add a finish event using Cache.
*
* @access public
* @return void
*/
public function finish()
Expand Down
12 changes: 0 additions & 12 deletions src/Orchestra/Memory/Drivers/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ abstract class Driver {
/**
* Construct an instance.
*
* @access public
* @param \Illuminate\Foundation\Application $app
* @param string $name
* @return void
Expand All @@ -67,7 +66,6 @@ public function __construct($app, $name = 'default')
/**
* Get value of a key.
*
* @access public
* @param string $key A string of key to search.
* @param mixed $default Default value if key doesn't exist.
* @return mixed
Expand All @@ -84,7 +82,6 @@ public function get($key = null, $default = null)
/**
* Set a value from a key.
*
* @access public
* @param string $key A string of key to add the value.
* @param mixed $value The value.
* @return mixed
Expand All @@ -100,7 +97,6 @@ public function put($key, $value = '')
/**
* Delete value of a key.
*
* @access public
* @param string $key A string of key to delete.
* @return boolean
*/
Expand All @@ -112,7 +108,6 @@ public function forget($key = null)
/**
* Add key with id and checksum.
*
* @access protected
* @param string $name
* @param array $option
* @return void
Expand All @@ -126,7 +121,6 @@ protected function addKey($name, $option)
/**
* Is new key.
*
* @access protected
* @param string $name
* @return integer
*/
Expand All @@ -138,7 +132,6 @@ protected function getKeyId($name)
/**
* Get ID from key.
*
* @access protected
* @param string $name
* @return boolean
*/
Expand All @@ -150,7 +143,6 @@ protected function isNewKey($name)
/**
* Verify checksum.
*
* @access protected
* @param string $name
* @param string $check
* @return boolean
Expand All @@ -163,17 +155,13 @@ protected function check($name, $check = '')
/**
* Initialize method.
*
* @abstract
* @access public
* @return void
*/
public abstract function initiate();

/**
* Shutdown method.
*
* @abstract
* @access public
* @return void
*/
public abstract function finish();
Expand Down
2 changes: 0 additions & 2 deletions src/Orchestra/Memory/Drivers/Eloquent.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class Eloquent extends Driver {
/**
* Load the data from database using Eloquent ORM.
*
* @access public
* @return void
*/
public function initiate()
Expand All @@ -39,7 +38,6 @@ public function initiate()
/**
* Add a finish event using Eloquent ORM.
*
* @access public
* @return void
*/
public function finish()
Expand Down
2 changes: 0 additions & 2 deletions src/Orchestra/Memory/Drivers/Fluent.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class Fluent extends Driver {
/**
* Load the data from database using Fluent Query Builder.
*
* @access public
* @return void
*/
public function initiate()
Expand All @@ -46,7 +45,6 @@ public function initiate()
/**
* Add a finish event using Fluent Query Builder.
*
* @access public
* @return void
*/
public function finish()
Expand Down
6 changes: 2 additions & 4 deletions src/Orchestra/Memory/Drivers/Runtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class Runtime extends Driver {
/**
* No initialize method for runtime.
*
* @access public
* @return return
* @return boolean
*/
public function initiate()
{
Expand All @@ -23,8 +22,7 @@ public function initiate()
/**
* No finish method for runtime.
*
* @access public
* @return return
* @return boolean
*/
public function finish()
{
Expand Down
9 changes: 1 addition & 8 deletions src/Orchestra/Memory/MemoryManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class MemoryManager extends Manager {
/**
* Create Fluent driver.
*
* @access protected
* @param string $name
* @return \Orchestra\Memory\Drivers\Fluent
*/
Expand All @@ -23,7 +22,6 @@ protected function createFluentDriver($name)
/**
* Create Eloquent driver.
*
* @access protected
* @param string $name
* @return \Orchestra\Memory\Drivers\Eloquent
*/
Expand All @@ -35,7 +33,6 @@ protected function createEloquentDriver($name)
/**
* Create Cache driver.
*
* @access protected
* @param string $name
* @return \Orchestra\Memory\Drivers\Cache
*/
Expand All @@ -47,7 +44,6 @@ protected function createCacheDriver($name)
/**
* Create Runtime driver.
*
* @access protected
* @param string $name
* @return \Orchestra\Memory\Drivers\Runtime
*/
Expand All @@ -59,7 +55,6 @@ protected function createRuntimeDriver($name)
/**
* Create Default driver.
*
* @access protected
* @param string $name
* @return string
*/
Expand All @@ -71,7 +66,6 @@ protected function getDefaultDriver()
/**
* Make default driver or fallback to runtime.
*
* @access public
* @param string $fallbackName
* @return \Orchestra\Memory\Drivers\Driver
*/
Expand All @@ -90,8 +84,7 @@ public function makeOrFallback($fallbackName = 'orchestra')
/**
* Loop every instance and execute finish method (if available)
*
* @access public
* @return void
* @return void
*/
public function finish()
{
Expand Down

0 comments on commit 87c7855

Please sign in to comment.