Skip to content

Commit 2847517

Browse files
committed
Bumbed stubs
1 parent a295eb8 commit 2847517

36 files changed

+293
-289
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ Autocomplete Phalcon v4 plugin for PhpStorm based on the [Phalcon/ide-stubs](htt
33

44
# Creating .jar
55
```bash
6-
zip -r phpstorm-phalcon-4-plugin-v4.0.3.jar *
6+
zip -r phpstorm-phalcon-4-plugin-v4.0.4.jar *
77
```

plugin/META-INF/plugin.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<idea-plugin version="2">
22
<id>io.ruudboon.phpstorm-phalcon-4-autocomplete</id>
33
<name>Phalcon 4 Autocomplete</name>
4-
<version>4.0.3</version>
4+
<version>4.0.4</version>
55
<vendor email="[email protected]" url="https://github.com/ruudboon/phpstorm-phalcon-4-autocomplete">Ruud Boon</vendor>
66

77
<description><![CDATA[
88
Provides autocomplete functionality for Phalcon 4.
99
]]></description>
1010

1111
<change-notes><![CDATA[
12-
<h3>4.0.3</h3>
12+
<h3>4.0.4</h3>
1313
<ul>
14-
<li>IDE Stubs for Phalcon 4.0.3</li>
14+
<li>IDE Stubs for Phalcon 4.0.4</li>
1515
</ul>
1616
]]>
1717
</change-notes>

plugin/src/Phalcon/Assets/Asset/Js.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace Phalcon\Assets\Asset;
1111

1212
/**
13-
* Represents Javascript assets
13+
* Represents JavaScript assets
1414
*/
1515
class Js extends \Phalcon\Assets\Asset
1616
{

plugin/src/Phalcon/Assets/Collection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Collection implements \Countable, \Iterator
6464
/**
6565
* @var int
6666
*/
67-
protected $position;
67+
protected $position = 0;
6868

6969
/**
7070
* @var string
@@ -270,7 +270,7 @@ public function addInlineCss(string $content, bool $filter = true, $attributes =
270270
}
271271

272272
/**
273-
* Adds an inline javascript to the collection
273+
* Adds an inline JavaScript to the collection
274274
*
275275
* @param string $content
276276
* @param bool $filter
@@ -282,7 +282,7 @@ public function addInlineJs(string $content, bool $filter = true, $attributes =
282282
}
283283

284284
/**
285-
* Adds a javascript asset to the collection
285+
* Adds a JavaScript asset to the collection
286286
*
287287
* @param array $attributes
288288
* @param string $path

plugin/src/Phalcon/Assets/Filters/Cssmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace Phalcon\Assets\Filters;
1111

1212
/**
13-
* Minify the css - removes comments removes newlines and line feeds keeping
13+
* Minify the CSS - removes comments removes newlines and line feeds keeping
1414
* removes last semicolon from last property
1515
*/
1616
class Cssmin implements \Phalcon\Assets\FilterInterface

plugin/src/Phalcon/Assets/Manager.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Phalcon\Assets\Manager
1616
*
17-
* Manages collections of CSS/Javascript assets
17+
* Manages collections of CSS/JavaScript assets
1818
*/
1919
class Manager extends AbstractInjectionAware
2020
{
@@ -78,7 +78,7 @@ public function addAssetByType(string $type, Asset $asset): Manager
7878
}
7979

8080
/**
81-
* Adds a Css asset to the 'css' collection
81+
* Adds a CSS asset to the 'css' collection
8282
*
8383
* ```php
8484
* $assets->addCss("css/bootstrap.css");
@@ -119,7 +119,7 @@ public function addInlineCodeByType(string $type, Inline $code): Manager
119119
}
120120

121121
/**
122-
* Adds an inline Css to the 'css' collection
122+
* Adds an inline CSS to the 'css' collection
123123
*
124124
* @param string $content
125125
* @param mixed $filter
@@ -131,7 +131,7 @@ public function addInlineCss(string $content, $filter = true, $attributes = null
131131
}
132132

133133
/**
134-
* Adds an inline javascript to the 'js' collection
134+
* Adds an inline JavaScript to the 'js' collection
135135
*
136136
* @param string $content
137137
* @param mixed $filter
@@ -143,7 +143,7 @@ public function addInlineJs(string $content, $filter = true, $attributes = null)
143143
}
144144

145145
/**
146-
* Adds a javascript asset to the 'js' collection
146+
* Adds a JavaScript asset to the 'js' collection
147147
*
148148
* ```php
149149
* $assets->addJs("scripts/jquery.js");

plugin/src/Phalcon/Db/Adapter/AbstractAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ public function fetchAll(string $sqlQuery, int $fetchMode = Enum::FETCH_ASSOC, $
421421
*
422422
* // Getting name of last edited robot
423423
* $robot = $connection->fetchColumn(
424-
* "SELECT id, name FROM robots order by modified desc",
424+
* "SELECT id, name FROM robots ORDER BY modified DESC",
425425
* 1
426426
* );
427427
* print_r($robot);

plugin/src/Phalcon/Db/Adapter/AdapterInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,12 @@ public function fetchAll(string $sqlQuery, int $fetchMode = 2, $placeholders = n
267267
*
268268
* ```php
269269
* // Getting count of robots
270-
* $robotsCount = $connection->fetchColumn("SELECT count() FROM robots");
270+
* $robotsCount = $connection->fetchColumn("SELECT COUNT() FROM robots");
271271
* print_r($robotsCount);
272272
*
273273
* // Getting name of last edited robot
274274
* $robot = $connection->fetchColumn(
275-
* "SELECT id, name FROM robots order by modified desc",
275+
* "SELECT id, name FROM robots ORDER BY modified DESC",
276276
* 1
277277
* );
278278
* print_r($robot);

plugin/src/Phalcon/Db/Adapter/Pdo/Mysql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace Phalcon\Db\Adapter\Pdo;
1111

1212
/**
13-
* Specific functions for the Mysql database system
13+
* Specific functions for the MySQL database system
1414
*
1515
* ```php
1616
* use Phalcon\Db\Adapter\Pdo\Mysql;

plugin/src/Phalcon/Db/Adapter/Pdo/Postgresql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use Phalcon\Db\RawValue;
1313

1414
/**
15-
* Specific functions for the Postgresql database system
15+
* Specific functions for the PostgreSQL database system
1616
*
1717
* ```php
1818
* use Phalcon\Db\Adapter\Pdo\Postgresql;

0 commit comments

Comments
 (0)