@@ -80,7 +80,7 @@ |
||
| 80 | 80 | * |
| 81 | 81 | * @param array $properties |
| 82 | 82 | * |
| 83 | - * @return array |
|
| 83 | + * @return \ReflectionClass |
|
| 84 | 84 | */ |
| 85 | 85 | protected function prepareProperties(array $properties, $target = null) |
| 86 | 86 | { |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | /** |
| 88 | 88 | * Add a file to the psysh Phar. |
| 89 | 89 | * |
| 90 | - * @param Phar $phar |
|
| 90 | + * @param \Phar $phar |
|
| 91 | 91 | * @param SplFileInfo $file |
| 92 | 92 | * @param bool $strip (default: true) |
| 93 | 93 | */ |
@@ -527,7 +527,7 @@ |
||
| 527 | 527 | * The pipe will be created inside the current temporary directory. |
| 528 | 528 | * |
| 529 | 529 | * @param string $type |
| 530 | - * @param id $pid |
|
| 530 | + * @param integer $pid |
|
| 531 | 531 | * |
| 532 | 532 | * @return string Pipe name |
| 533 | 533 | */ |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | /** |
| 117 | 117 | * `psysh` command line executable. |
| 118 | 118 | * |
| 119 | - * @return Closure |
|
| 119 | + * @return \Closure |
|
| 120 | 120 | */ |
| 121 | 121 | function bin() |
| 122 | 122 | { |
@@ -84,6 +84,7 @@ |
||
| 84 | 84 | * Get a pipe for paging output. |
| 85 | 85 | * |
| 86 | 86 | * If no active pager process exists, fork one and return its input pipe. |
| 87 | + * @return resource |
|
| 87 | 88 | */ |
| 88 | 89 | private function getPipe() |
| 89 | 90 | { |
@@ -38,6 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * GNU Readline constructor. |
| 41 | + * @param string $historyFile |
|
| 41 | 42 | */ |
| 42 | 43 | public function __construct($historyFile = null, $historySize = 0, $eraseDups = false) |
| 43 | 44 | { |
@@ -1101,7 +1101,7 @@ |
||
| 1101 | 1101 | |
| 1102 | 1102 | /** |
| 1103 | 1103 | * Returns MySQL column types (inherited and MySQL specified). |
| 1104 | - * @return array |
|
| 1104 | + * @return string[] |
|
| 1105 | 1105 | */ |
| 1106 | 1106 | public function getColumnTypes() |
| 1107 | 1107 | { |
@@ -214,7 +214,7 @@ |
||
| 214 | 214 | /** |
| 215 | 215 | * Gets the command start time |
| 216 | 216 | * |
| 217 | - * @return int |
|
| 217 | + * @return double |
|
| 218 | 218 | */ |
| 219 | 219 | public function getCommandStartTime() |
| 220 | 220 | { |
@@ -475,6 +475,11 @@ discard block |
||
| 475 | 475 | $this->endCommandTimer(); |
| 476 | 476 | } |
| 477 | 477 | |
| 478 | + /** |
|
| 479 | + * @param string $tableName |
|
| 480 | + * @param string $columnName |
|
| 481 | + * @param string $newColumnName |
|
| 482 | + */ |
|
| 478 | 483 | protected function renameDefault($tableName, $columnName, $newColumnName) |
| 479 | 484 | { |
| 480 | 485 | $oldConstraintName = "DF_{$tableName}_{$columnName}"; |
@@ -492,6 +497,9 @@ discard block |
||
| 492 | 497 | )); |
| 493 | 498 | } |
| 494 | 499 | |
| 500 | + /** |
|
| 501 | + * @param string $tableName |
|
| 502 | + */ |
|
| 495 | 503 | public function changeDefault($tableName, Column $newColumn) |
| 496 | 504 | { |
| 497 | 505 | $constraintName = "DF_{$tableName}_{$newColumn->getName()}"; |
@@ -572,6 +580,10 @@ discard block |
||
| 572 | 580 | $this->endCommandTimer(); |
| 573 | 581 | } |
| 574 | 582 | |
| 583 | + /** |
|
| 584 | + * @param string $tableName |
|
| 585 | + * @param string $columnName |
|
| 586 | + */ |
|
| 575 | 587 | protected function dropDefaultConstraint($tableName, $columnName) |
| 576 | 588 | { |
| 577 | 589 | $defaultConstraint = $this->getDefaultConstraint($tableName, $columnName); |
@@ -1094,6 +1106,7 @@ discard block |
||
| 1094 | 1106 | * Gets the SqlServer Index Definition for an Index object. |
| 1095 | 1107 | * |
| 1096 | 1108 | * @param Index $index Index |
| 1109 | + * @param string $tableName |
|
| 1097 | 1110 | * @return string |
| 1098 | 1111 | */ |
| 1099 | 1112 | protected function getIndexSqlDefinition(Index $index, $tableName) |
@@ -1122,6 +1135,7 @@ discard block |
||
| 1122 | 1135 | * Gets the SqlServer Foreign Key Definition for an ForeignKey object. |
| 1123 | 1136 | * |
| 1124 | 1137 | * @param ForeignKey $foreignKey |
| 1138 | + * @param string $tableName |
|
| 1125 | 1139 | * @return string |
| 1126 | 1140 | */ |
| 1127 | 1141 | protected function getForeignKeySqlDefinition(ForeignKey $foreignKey, $tableName) |