diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-15 13:22:42 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-15 19:14:35 +0200 |
commit | 3039d000c643da3be336103c43d892da9687b490 (patch) | |
tree | d178bfe7abc56d35019c35543af9eb5e8ac56e00 /phpBB/phpbb/db/migrator.php | |
parent | 4ac93157289843f26a42992fc9022cd88e1c174e (diff) | |
download | forums-3039d000c643da3be336103c43d892da9687b490.tar forums-3039d000c643da3be336103c43d892da9687b490.tar.gz forums-3039d000c643da3be336103c43d892da9687b490.tar.bz2 forums-3039d000c643da3be336103c43d892da9687b490.tar.xz forums-3039d000c643da3be336103c43d892da9687b490.zip |
[ticket/12715] Cleanup comments in \phpbb\db\*
PHPBB3-12715
Diffstat (limited to 'phpBB/phpbb/db/migrator.php')
-rw-r--r-- | phpBB/phpbb/db/migrator.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/migrator.php b/phpBB/phpbb/db/migrator.php index 5255c73c1c..c2f7b5ab23 100644 --- a/phpBB/phpbb/db/migrator.php +++ b/phpBB/phpbb/db/migrator.php @@ -167,8 +167,9 @@ class migrator /** * Attempts to apply a step of the given migration or one of its dependencies * - * @param string The class name of the migration + * @param string $name The class name of the migration * @return bool Whether any update step was successfully run + * @throws \phpbb\db\migration\exception */ protected function try_apply($name) { @@ -302,7 +303,7 @@ class migrator /** * Attempts to revert a step of the given migration or one of its dependencies * - * @param string The class name of the migration + * @param string $name The class name of the migration * @return bool Whether any update step was successfully run */ protected function try_revert($name) @@ -368,6 +369,7 @@ class migrator * @param bool|string $state Current state of the migration * @param bool $revert true to revert a data step * @return bool|string migration state. True if completed, serialized array if not finished + * @throws \phpbb\db\migration\exception */ protected function process_data_step($steps, $state, $revert = false) { @@ -464,6 +466,7 @@ class migrator * @param mixed $last_result Result to pass to the callable (only for 'custom' method) * @param bool $reverse False to install, True to attempt uninstallation by reversing the call * @return array Array with parameters for call_user_func_array(), 0 is the callable, 1 is parameters + * @throws \phpbb\db\migration\exception */ protected function get_callable_from_step(array $step, $last_result = 0, $reverse = false) { @@ -722,6 +725,7 @@ class migrator * to prevent errors (if including multiple directories, check * with the last call to prevent throwing errors unnecessarily). * @return array Array of migration names + * @throws \phpbb\db\migration\exception */ public function load_migrations(\phpbb\finder $finder, $path, $check_fulfillable = true) { |