File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ abstract class BaseModel
6464 * should be instantiated.
6565 *
6666 * @var string
67+ * @phpstan-var non-empty-string
6768 */
6869 protected $ DBGroup ;
6970
Original file line number Diff line number Diff line change @@ -39,9 +39,10 @@ class Config extends BaseConfig
3939 /**
4040 * Creates the default
4141 *
42- * @param array|BaseConnection|string|null $group The name of the connection group to use,
43- * or an array of configuration settings.
44- * @param bool $getShared Whether to return a shared instance of the connection.
42+ * @param array|BaseConnection|string|null $group The name of the connection group to use,
43+ * or an array of configuration settings.
44+ * @phpstan-param array|BaseConnection|non-empty-string|null $group
45+ * @param bool $getShared Whether to return a shared instance of the connection.
4546 *
4647 * @return BaseConnection
4748 */
@@ -125,6 +126,8 @@ public static function utils($group = null)
125126 /**
126127 * Returns a new instance of the Database Seeder.
127128 *
129+ * @phpstan-param null|non-empty-string $group
130+ *
128131 * @return Seeder
129132 */
130133 public static function seeder (?string $ group = null )
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class Seeder
2626 * The name of the database group to use.
2727 *
2828 * @var string
29+ * @phpstan-var non-empty-string
2930 */
3031 protected $ DBGroup ;
3132
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ abstract class CIUnitTestCase extends TestCase
134134 * If not present, will use the defaultGroup.
135135 *
136136 * @var string
137+ * @phpstan-var non-empty-string
137138 */
138139 protected $ DBGroup = 'tests ' ;
139140
You can’t perform that action at this time.
0 commit comments